aboutsummaryrefslogtreecommitdiff
path: root/kyra/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kyra/script.cpp')
-rw-r--r--kyra/script.cpp2
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) {