[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.156,2.157

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Jul 19 09:11:06 CEST 2003


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

Modified Files:
	script_v2.cpp 
Log Message:
updated opcode "Actor Set Color" in o2_ActorSet func, it's based on dissassembly, why it was "i = 3" ?

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.156
retrieving revision 2.157
diff -u -d -r2.156 -r2.157
--- script_v2.cpp	18 Jul 2003 18:55:04 -0000	2.156
+++ script_v2.cpp	19 Jul 2003 16:10:15 -0000	2.157
@@ -686,10 +686,8 @@
 			break;
 
 		case 2:		// Actor Set Color
-			if ((_gameId == GID_ZAK) && (_version == 1)) {
-				// FIXME: maybe this is needed for MM v1, too, but so far I have
-				// not seen any call to this in it at all, so I don't know
-				i = 3;
+			if (_version == 1) {
+				i = 0;
 			} else {
 				i = fetchScriptByte();
 			}





More information about the Scummvm-git-logs mailing list