[Scummvm-cvs-logs] CVS: scummvm/kyra script.cpp,1.4,1.5

James Brown ender at users.sourceforge.net
Fri Oct 15 04:01:53 CEST 2004


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

Modified Files:
	script.cpp 
Log Message:
Init in the right spot :P


Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/kyra/script.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- script.cpp	15 Oct 2004 10:53:06 -0000	1.4
+++ script.cpp	15 Oct 2004 10:56:16 -0000	1.5
@@ -32,6 +32,7 @@
 namespace Kyra {
 	VMContext::VMContext(KyraEngine* engine) {
 		_engine = engine;
+		_error = false;
 		
 		// now we create a list of all Command/Opcode procs and so
 		static CommandEntry commandProcs[] = {
@@ -767,7 +768,6 @@
 		assert(script_start);
 		
 		uint32 scriptStateAtStart = _scriptState;
-		_error = false;
 
 		// runs the script
 		while(true) {





More information about the Scummvm-git-logs mailing list