diff options
author | Filippos Karapetis | 2007-07-11 03:21:29 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-07-11 03:21:29 +0000 |
commit | 994a1918585f9c2c26d50c4ec4d457f3874cc7d0 (patch) | |
tree | 4258c8779ae88f52b4265140d0e9dda597cc31bd /engines/saga/sfuncs.cpp | |
parent | 0ed332acba26adb741e3ee7d3146eac2a9e4af60 (diff) | |
download | scummvm-rg350-994a1918585f9c2c26d50c4ec4d457f3874cc7d0.tar.gz scummvm-rg350-994a1918585f9c2c26d50c4ec4d457f3874cc7d0.tar.bz2 scummvm-rg350-994a1918585f9c2c26d50c4ec4d457f3874cc7d0.zip |
IHNM: Narrowed down the places where the actors stop being drawn when changing scenes
svn-id: r28022
Diffstat (limited to 'engines/saga/sfuncs.cpp')
-rw-r--r-- | engines/saga/sfuncs.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index 4b30d0b406..1e9460c898 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -562,9 +562,17 @@ void Script::sfScriptGotoScene(SCRIPTFUNC_PARAMS) { } if (_vm->getGameType() == GType_IHNM) { + // WORKAROUND for the briefly appearing actors at the beginning of each chapter + // This will stop the actors being drawn in those specific scenes until the scene background has been drawn + if ((_vm->_scene->currentChapterNumber() == 1 && _vm->_scene->currentSceneNumber() == 6) || + (_vm->_scene->currentChapterNumber() == 2 && _vm->_scene->currentSceneNumber() == 31) || + (_vm->_scene->currentChapterNumber() == 3 && _vm->_scene->currentSceneNumber() == 58) || + (_vm->_scene->currentChapterNumber() == 4 && _vm->_scene->currentSceneNumber() == 68) || + (_vm->_scene->currentChapterNumber() == 5 && _vm->_scene->currentSceneNumber() == 91)) + _vm->_actor->showActors(false); // Stop showing actors before the background is drawn + // Since it doesn't look like the IHNM scripts remove the - // cutaway after the intro, this is probably the best place to - // to it. + // cutaway after the intro, this is probably the best place to do it _vm->_anim->clearCutaway(); } |