[Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.97,1.98
Max Horn
fingolfin at users.sourceforge.net
Sun May 18 18:28:05 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv19514
Modified Files:
object.cpp
Log Message:
don't touch untouchable objects in V2 games
Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/object.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- object.cpp 18 May 2003 21:03:56 -0000 1.97
+++ object.cpp 19 May 2003 01:27:30 -0000 1.98
@@ -255,6 +255,8 @@
for (i = 1; i < _numLocalObjects; i++) {
if ((_objs[i].obj_nr < 1) || getClass(_objs[i].obj_nr, 32))
continue;
+ if (_features & GF_AFTER_V2 && _objs[i].state & 0x2)
+ continue;
b = i;
do {
a = _objs[b].parentstate;
More information about the Scummvm-git-logs
mailing list