aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2004-10-15 10:53:06 +0000
committerJames Brown2004-10-15 10:53:06 +0000
commit0ee4b3e542e713b91cef3ecbfc58dee050105ff6 (patch)
tree35dec3fdeadd48e5c570a7e6b9009ad4c60c61ca
parent15c184cc12eebb97d0a4c9ecddb056b5b30a0fe6 (diff)
downloadscummvm-rg350-0ee4b3e542e713b91cef3ecbfc58dee050105ff6.tar.gz
scummvm-rg350-0ee4b3e542e713b91cef3ecbfc58dee050105ff6.tar.bz2
scummvm-rg350-0ee4b3e542e713b91cef3ecbfc58dee050105ff6.zip
Init error.
svn-id: r15557
-rw-r--r--kyra/script.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kyra/script.cpp b/kyra/script.cpp
index 13bb593665..e30ffb3e7e 100644
--- a/kyra/script.cpp
+++ b/kyra/script.cpp
@@ -767,7 +767,8 @@ namespace Kyra {
assert(script_start);
uint32 scriptStateAtStart = _scriptState;
-
+ _error = false;
+
// runs the script
while(true) {
if ((uint32)_instructionPos > _chunks[kData]._size) {