[Scummvm-cvs-logs] SF.net SVN: scummvm:[42641] scummvm/trunk/engines/gob/game.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Tue Jul 21 13:58:58 CEST 2009
Revision: 42641
http://scummvm.svn.sourceforge.net/scummvm/?rev=42641&view=rev
Author: drmccoy
Date: 2009-07-21 11:58:58 +0000 (Tue, 21 Jul 2009)
Log Message:
-----------
Fixing "Game "hangs" after first level" (bug #2824414)
Modified Paths:
--------------
scummvm/trunk/engines/gob/game.cpp
Modified: scummvm/trunk/engines/gob/game.cpp
===================================================================
--- scummvm/trunk/engines/gob/game.cpp 2009-07-21 11:26:31 UTC (rev 42640)
+++ scummvm/trunk/engines/gob/game.cpp 2009-07-21 11:58:58 UTC (rev 42641)
@@ -275,6 +275,12 @@
_vm->_draw->_fontToSprite[i].height = -1;
}
+ // Gobliiins music stopping
+ if (_vm->getGameType() == kGameTypeGob1) {
+ _vm->_sound->adlibStop();
+ _vm->_sound->cdStop();
+ }
+
_vm->_mult->initAll();
_vm->_mult->zeroMultData();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list