aboutsummaryrefslogtreecommitdiff
path: root/kyra/script.cpp
diff options
context:
space:
mode:
authorJames Brown2004-10-15 10:56:16 +0000
committerJames Brown2004-10-15 10:56:16 +0000
commitb1ec9a92bf5a15ab400799275ba5eeb1a6c09286 (patch)
treeaa9e4d9c4895dcc84dbcb8695452a8615fe794be /kyra/script.cpp
parent0ee4b3e542e713b91cef3ecbfc58dee050105ff6 (diff)
downloadscummvm-rg350-b1ec9a92bf5a15ab400799275ba5eeb1a6c09286.tar.gz
scummvm-rg350-b1ec9a92bf5a15ab400799275ba5eeb1a6c09286.tar.bz2
scummvm-rg350-b1ec9a92bf5a15ab400799275ba5eeb1a6c09286.zip
Init in the right spot :P
svn-id: r15558
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) {