The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
|
Sound disappear on "Restart game" - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7) +--- Thread: Sound disappear on "Restart game" (/showthread.php?tid=746) |
Sound disappear on "Restart game" - gianni - 08-10-2007 Hi all! If I choose "Restart Game" from Menu the sound disappear, but if I comment the line: sound.Reload(); in method: void GAME::ResetWorld(bool fullreset) from game.cpp file all goes right. Also I have tried to comment the next line: timer.Clear(); and nothing goes wrong. Gianni - joevenzon - 08-13-2007 Are you using the 3/23 release or SVN? - xTs - 08-14-2007 i've noticed this, too, and I'm using the svn version. - gianni - 08-14-2007 I'm using SVN version Gianni - joevenzon - 08-14-2007 The timer clear should be there, but yeah, the sound.reload shouldn't. Good catch. I've added this fix to SVN R1806. - gianni - 08-15-2007 thanks! - xTs - 08-15-2007 fixed now, thanks. |