[Scummvm-cvs-logs] SF.net SVN: scummvm: [27947] scummvm/trunk/engines/saga/sfuncs.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jul 7 02:53:16 CEST 2007


Revision: 27947
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27947&view=rev
Author:   thebluegr
Date:     2007-07-06 17:53:16 -0700 (Fri, 06 Jul 2007)

Log Message:
-----------
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

Modified Paths:
--------------
    scummvm/trunk/engines/saga/sfuncs.cpp

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-07 00:36:10 UTC (rev 27946)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-07 00:53:16 UTC (rev 27947)
@@ -1019,7 +1019,13 @@
 		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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list