[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.168,1.169

Max Horn fingolfin at users.sourceforge.net
Thu Sep 11 06:46:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv32567

Modified Files:
	actor.cpp 
Log Message:
fixed kBoxLocked handling, bug #771483 (ZAK: Pushing Sarcophagous feet on Mars)

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- actor.cpp	11 Sep 2003 10:32:14 -0000	1.168
+++ actor.cpp	11 Sep 2003 13:40:22 -0000	1.169
@@ -1458,8 +1458,7 @@
 		// Can't walk through locked boxes
 		int flags = _vm->getBoxFlags(next_box);
 		if (flags & kBoxLocked && !(flags & kBoxPlayerOnly && !isPlayer())) {
-			moving |= MF_LAST_LEG;
-			return;
+			break;
 		}
 
 





More information about the Scummvm-git-logs mailing list