[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.173,1.174

Travis Howell kirben at users.sourceforge.net
Wed Aug 18 03:46:34 CEST 2004


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

Modified Files:
	script.cpp 
Log Message:

Causes name to be lost in the Dig too.
Only scumm6 games originally used this method.


Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- script.cpp	14 Aug 2004 07:04:31 -0000	1.173
+++ script.cpp	18 Aug 2004 10:41:39 -0000	1.174
@@ -873,7 +873,7 @@
 				// We can delete custom name resources if either the object is
 				// no longer in use (i.e. not owned by anyone anymore); or if
 				// it is an object which is owned by a room.
-				if (owner == 0 || (_version < 8 && owner == OF_OWNER_ROOM)) {
+				if (owner == 0 || (_version < 7 && owner == OF_OWNER_ROOM)) {
 					// WORKAROUND for a problem mentioned in bug report #941275:
 					// In FOA in the sentry room, in the chest plate of the statue,
 					// the pegs may be renamed to mouth: this custom name is lost





More information about the Scummvm-git-logs mailing list