[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.137,1.138
Max Horn
fingolfin at users.sourceforge.net
Sat Jul 12 16:30:11 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv22972
Modified Files:
actor.cpp
Log Message:
fix for bug #770308
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- actor.cpp 12 Jul 2003 17:53:22 -0000 1.137
+++ actor.cpp 12 Jul 2003 22:41:58 -0000 1.138
@@ -1064,7 +1064,8 @@
for (i = 1; i < _numActors; i++) {
if (testGfxUsageBit(x >> 3, i) && !getClass(i, kObjectClassUntouchable)
&& y >= _actors[i].top && y <= _actors[i].bottom) {
- return i;
+ if (_version > 2 || i != VAR(VAR_EGO))
+ return i;
}
}
return 0;
More information about the Scummvm-git-logs
mailing list