[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.264,1.265

Travis Howell kirben at users.sourceforge.net
Wed Jan 14 20:47:01 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv25746/scumm

Modified Files:
	script_v6.cpp 
Log Message:

Hack only needs to check for insane values now.


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.264
retrieving revision 1.265
diff -u -d -r1.264 -r1.265
--- script_v6.cpp	14 Jan 2004 23:51:22 -0000	1.264
+++ script_v6.cpp	15 Jan 2004 04:46:07 -0000	1.265
@@ -1837,6 +1837,7 @@
 		_verbRedraw = true;
 
 	op = fetchScriptByte();
+	warning("o6_verbOps op %d", op);
 	if (op == 196) {
 		_curVerb = pop();
 		_curVerbSlot = getVerbSlot(_curVerb, 0);
@@ -1930,8 +1931,8 @@
 	case 139:		// SO_VERB_IMAGE_IN_ROOM
 		b = pop();
 		a = pop();
-		// HACK Prevent puttmoon from loading no existant objects.
-		if ((_gameId == GID_PUTTPUTT) && (a < 700 || a == 776 || a > 900))
+		// HACK Prevent puttmoon from loading non existant objects
+		if ((_gameId == GID_PUTTPUTT) && (a > 900))
 			break;
 
 		if (slot && a != vs->imgindex) {





More information about the Scummvm-git-logs mailing list