From 994a1918585f9c2c26d50c4ec4d457f3874cc7d0 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 11 Jul 2007 03:21:29 +0000 Subject: IHNM: Narrowed down the places where the actors stop being drawn when changing scenes svn-id: r28022 --- engines/saga/sfuncs.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'engines/saga/sfuncs.cpp') 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(); } -- cgit v1.2.3