From b1ec9a92bf5a15ab400799275ba5eeb1a6c09286 Mon Sep 17 00:00:00 2001 From: James Brown Date: Fri, 15 Oct 2004 10:56:16 +0000 Subject: Init in the right spot :P svn-id: r15558 --- kyra/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kyra/script.cpp') diff --git a/kyra/script.cpp b/kyra/script.cpp index e30ffb3e7e..aac2f90068 100644 --- a/kyra/script.cpp +++ b/kyra/script.cpp @@ -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 @@ namespace Kyra { assert(script_start); uint32 scriptStateAtStart = _scriptState; - _error = false; // runs the script while(true) { -- cgit v1.2.3