[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.267,1.268

Travis Howell kirben at users.sourceforge.net
Tue Aug 17 05:53:32 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12833/scumm

Modified Files:
	actor.cpp 
Log Message:

This check is Sam & Max specific, doesn't exist in other games.


Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.267
retrieving revision 1.268
diff -u -d -r1.267 -r1.268
--- actor.cpp	15 Aug 2004 01:22:04 -0000	1.267
+++ actor.cpp	17 Aug 2004 12:47:03 -0000	1.268
@@ -419,7 +419,7 @@
 	// For some boxes, we ignore the scaling and use whatever values the
 	// scripts set. This is used e.g. in the Mystery Vortex in Sam&Max.
 	// Older games used the flag 0x20 differently, though.
-	if (_vm->_version >= 6 && (_vm->getBoxFlags(walkbox) & kBoxIgnoreScale))
+	if (_vm->_gameId = GID_SAMNMAX && (_vm->getBoxFlags(walkbox) & kBoxIgnoreScale))
 		return;
 
 	boxscale = _vm->getBoxScale(walkbox);





More information about the Scummvm-git-logs mailing list