[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.316,1.316.2.1
kirben
kirben at users.sourceforge.net
Fri Mar 18 16:59:50 CET 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20704/scumm
Modified Files:
Tag: branch-0-7-0
actor.cpp
Log Message:
Add bug fix from cyx for:
883415 - COMI: Guybrush appears above tomb
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.316
retrieving revision 1.316.2.1
diff -u -d -r1.316 -r1.316.2.1
--- actor.cpp 27 Nov 2004 17:50:21 -0000 1.316
+++ actor.cpp 19 Mar 2005 00:59:02 -0000 1.316.2.1
@@ -654,7 +654,7 @@
if (numBoxes < firstValidBox)
return abr;
- bestDist = 0xFFFF;
+ bestDist = (_vm->_version >= 7) ? 0x7FFFFFFF : 0xFFFF;
if (_vm->_version <= 2)
bestDist *= 8*2; // Adjust for the fact that we multiply x by 8 and y by 2
bestBox = kInvalidBox;
More information about the Scummvm-git-logs
mailing list