[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.207,1.208

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Fri Nov 14 02:56:14 CET 2003


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

Modified Files:
	script_v5.cpp 
Log Message:
Fixed regression introduced in revision 1.206 that broke parameter handling
in o5_matrixOps(). This fixes bug #841885.


Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- script_v5.cpp	10 Nov 2003 09:16:41 -0000	1.207
+++ script_v5.cpp	14 Nov 2003 10:55:24 -0000	1.208
@@ -1522,8 +1522,8 @@
 		return;
 	}
 
-	int subOp = fetchScriptByte();
-	switch (subOp & 0x1F) {
+	_opcode = fetchScriptByte();
+	switch (_opcode & 0x1F) {
 	case 1:
 		a = getVarOrDirectByte(0x80);
 		b = getVarOrDirectByte(0x40);





More information about the Scummvm-git-logs mailing list