[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.220,1.221 script_c64.cpp,2.3,2.4

kirben kirben at users.sourceforge.net
Wed May 18 09:17:15 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25471/scumm

Modified Files:
	script.cpp script_c64.cpp 
Log Message:

Correct input script in C64 maniac.


Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -d -r1.220 -r1.221
--- script.cpp	9 May 2005 02:59:45 -0000	1.220
+++ script.cpp	18 May 2005 16:15:56 -0000	1.221
@@ -988,7 +988,11 @@
 	int args[24];
 	int verbScript;
 
-	if (_version <= 2) {
+	if (_gameId == GID_MANIAC && _platform == Common::kPlatformC64) {
+		verbScript = 3;
+		//_scummVars[9] = cmd;
+
+	} else if (_version <= 2) {
 		verbScript = 4;
 		_scummVars[VAR_CLICK_AREA] = a;
 		switch (a) {

Index: script_c64.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_c64.cpp,v
retrieving revision 2.3
retrieving revision 2.4
diff -u -d -r2.3 -r2.4
--- script_c64.cpp	18 May 2005 15:42:35 -0000	2.3
+++ script_c64.cpp	18 May 2005 16:15:56 -0000	2.4
@@ -182,7 +182,7 @@
 		OPCODE(o_getObjectOwner),
 		/* 74 */
 		OPCODE(o5_getDist),
-		OPCODE(o2_findObject),
+		OPCODE(o5_printEgo),
 		OPCODE(o2_walkActorToObject),
 		OPCODE(o2_clearState01),
 		/* 78 */





More information about the Scummvm-git-logs mailing list