diff options
author | James Brown | 2004-10-15 10:56:16 +0000 |
---|---|---|
committer | James Brown | 2004-10-15 10:56:16 +0000 |
commit | b1ec9a92bf5a15ab400799275ba5eeb1a6c09286 (patch) | |
tree | aa9e4d9c4895dcc84dbcb8695452a8615fe794be | |
parent | 0ee4b3e542e713b91cef3ecbfc58dee050105ff6 (diff) | |
download | scummvm-rg350-b1ec9a92bf5a15ab400799275ba5eeb1a6c09286.tar.gz scummvm-rg350-b1ec9a92bf5a15ab400799275ba5eeb1a6c09286.tar.bz2 scummvm-rg350-b1ec9a92bf5a15ab400799275ba5eeb1a6c09286.zip |
Init in the right spot :P
svn-id: r15558
-rw-r--r-- | kyra/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |