diff options
author | Filippos Karapetis | 2007-07-07 00:53:16 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-07-07 00:53:16 +0000 |
commit | c72633b539227dc5a5b7864296a203490f6bea18 (patch) | |
tree | 609666fbf777377b88989c5592cbbc180e31a9c5 /engines/saga | |
parent | 737216e52efbbba2955393ece5fb078a8d0783b0 (diff) | |
download | scummvm-rg350-c72633b539227dc5a5b7864296a203490f6bea18.tar.gz scummvm-rg350-c72633b539227dc5a5b7864296a203490f6bea18.tar.bz2 scummvm-rg350-c72633b539227dc5a5b7864296a203490f6bea18.zip |
IHNM: Benny will no longer start walking backwards for a bit after talking with the child via the monitor. This glitch occurs with the original interpreter as well
svn-id: r27947
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/sfuncs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index a9c4f6cad5..4b30d0b406 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -1019,7 +1019,13 @@ void Script::sfCycleFrames(SCRIPTFUNC_PARAMS) { actor->_actorFlags |= kActorRandom; } if (flags & kCycleReverse) { - actor->_actorFlags |= kActorBackwards; + if (_vm->getGameType() == GType_IHNM && + _vm->_scene->currentChapterNumber() == 2 && _vm->_scene->currentSceneNumber() == 41) { + // Prevent Benny from walking backwards after talking to the child via the monitor. This occurs in the + // original as well, and is fixed by not setting the kActorBackwards flag at this point + } else { + actor->_actorFlags |= kActorBackwards; + } } actor->_cycleFrameSequence = cycleFrameSequence; |