diff options
author | Filippos Karapetis | 2013-06-28 11:19:46 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-06-28 11:20:40 +0300 |
commit | 63624f8bfa3f79302317589c9c3adbc852563a6c (patch) | |
tree | ae51da1af70e74dd0f79791fd1f93099f33119c2 | |
parent | b0411d50598ab8d4fd96c267058257a66e36f430 (diff) | |
download | scummvm-rg350-63624f8bfa3f79302317589c9c3adbc852563a6c.tar.gz scummvm-rg350-63624f8bfa3f79302317589c9c3adbc852563a6c.tar.bz2 scummvm-rg350-63624f8bfa3f79302317589c9c3adbc852563a6c.zip |
NEVERHOOD: Fix scene entrance when restoring in the Aqua (music) house
This looks to be a logic error in the constructor of module 2400, since
all the other modules do not create scenes with the global entrance
number when they are instantiated without an entrance (i.e. when
loading). With that logic error, all the code that handled Kleymen's
entrance to a scene after restoring was incorrectly skipped
-rw-r--r-- | engines/neverhood/modules/module2400.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/neverhood/modules/module2400.cpp b/engines/neverhood/modules/module2400.cpp index 47f842b939..8d3b763f72 100644 --- a/engines/neverhood/modules/module2400.cpp +++ b/engines/neverhood/modules/module2400.cpp @@ -30,7 +30,7 @@ Module2400::Module2400(NeverhoodEngine *vm, Module *parentModule, int which) _vm->_soundMan->addMusic(0x202D1010, 0xB110382D); if (which < 0) - createScene(_vm->gameState().sceneNum, _vm->gameState().which); + createScene(_vm->gameState().sceneNum, -1); else createScene(0, 0); |