[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.25,2.26

James Brown ender at users.sourceforge.net
Sun Apr 27 02:04:03 CEST 2003


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

Modified Files:
	script_v2.cpp 
Log Message:
V2 syntax fix


Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.25
retrieving revision 2.26
diff -u -d -r2.25 -r2.26
--- script_v2.cpp	27 Apr 2003 07:52:26 -0000	2.25
+++ script_v2.cpp	27 Apr 2003 09:03:26 -0000	2.26
@@ -607,9 +607,9 @@
 	uint16 x, y, w, h;
 	int xpos, ypos;
 
-	obj = getVarOrDirectWord(0x80);
-	xpos = getVarOrDirectWord(0x40);
-	ypos = getVarOrDirectWord(0x20);
+	obj = getVarOrDirectByte(0x80);
+	xpos = getVarOrDirectByte(0x40);
+	ypos = getVarOrDirectByte(0x20);
 
 	idx = getObjectIndex(obj);
 	if (idx == -1)





More information about the Scummvm-git-logs mailing list