[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.141,1.142

Travis Howell kirben at users.sourceforge.net
Tue Jan 6 07:57:07 CET 2004


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

Modified Files:
	script.cpp 
Log Message:

Restrict to scumm7, caused invalid opcode errors when skipping cutscenes in comi sometimes and comi demo always.


Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- script.cpp	6 Jan 2004 12:45:30 -0000	1.141
+++ script.cpp	6 Jan 2004 15:56:27 -0000	1.142
@@ -1141,7 +1141,8 @@
 		// Proper fix might be to let SMUSH/INSANE run from outside the script
 		// engine but that would require lots of changes and may actually have
 		// negative effects, too. So we cheat here, to fix bug #751670.
-		getScriptEntryPoint();
+		if (_version == 7)
+			getScriptEntryPoint();
 
 	}
 }





More information about the Scummvm-git-logs mailing list