aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2009-07-21 11:58:58 +0000
committerSven Hesse2009-07-21 11:58:58 +0000
commit4f431e8952d3dd70c4eb07cf18d365329efbb97a (patch)
tree458b6d1c1ac12bd0ea3566d92e19523fe26ff296 /engines
parent87af626ee91838ecab882cd4deabc1e625c2cf55 (diff)
downloadscummvm-rg350-4f431e8952d3dd70c4eb07cf18d365329efbb97a.tar.gz
scummvm-rg350-4f431e8952d3dd70c4eb07cf18d365329efbb97a.tar.bz2
scummvm-rg350-4f431e8952d3dd70c4eb07cf18d365329efbb97a.zip
Fixing "Game "hangs" after first level" (bug #2824414)
svn-id: r42641
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/game.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index d201019d08..4e2bd223b7 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -275,6 +275,12 @@ void Game::playTot(int16 skipPlay) {
_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();