diff options
| -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) { |
