aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script.cpp')
-rw-r--r--engines/kyra/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script.cpp b/engines/kyra/script.cpp
index dba09f08ef..9635b0b29a 100644
--- a/engines/kyra/script.cpp
+++ b/engines/kyra/script.cpp
@@ -178,7 +178,7 @@ bool EMCInterpreter::start(EMCState *script, int function) {
}
bool EMCInterpreter::isValid(EMCState *script) {
- if (!script->ip || !script->dataPtr || _vm->quit())
+ if (!script->ip || !script->dataPtr || _vm->shouldQuit())
return false;
return true;
}