[Scummvm-cvs-logs] CVS: scummvm/scumm script_v1.cpp,1.23,1.24

James Brown ender at users.sourceforge.net
Fri Nov 15 04:25:03 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv7220/scumm

Modified Files:
	script_v1.cpp 
Log Message:
Hack for bug 636433


Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v1.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- script_v1.cpp	10 Nov 2002 12:50:06 -0000	1.23
+++ script_v1.cpp	15 Nov 2002 12:21:30 -0000	1.24
@@ -982,6 +982,10 @@
 			setResult(94);
 			return;
 		}
+		setResult(getObjY(a) - 1);	// FIXME: Is this right, or can it be less specific?
+						// It's here to fix bug 636433 in specific, the actors
+						// are one pixel off what the script waits for.
+		return;
 	} else
 		a = getVarOrDirectWord(0x80);
 





More information about the Scummvm-git-logs mailing list