diff options
author | Max Horn | 2008-09-30 12:27:38 +0000 |
---|---|---|
committer | Max Horn | 2008-09-30 12:27:38 +0000 |
commit | 9b160804ab8878b55efb032fb62ee359ab97f848 (patch) | |
tree | aa0ac6d0aec815de5f2368acc00971948cf3fa0b /engines/kyra/script.cpp | |
parent | 87917e06d94e36c483011deaf1eb4a5dba6eeb97 (diff) | |
download | scummvm-rg350-9b160804ab8878b55efb032fb62ee359ab97f848.tar.gz scummvm-rg350-9b160804ab8878b55efb032fb62ee359ab97f848.tar.bz2 scummvm-rg350-9b160804ab8878b55efb032fb62ee359ab97f848.zip |
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
Diffstat (limited to 'engines/kyra/script.cpp')
-rw-r--r-- | engines/kyra/script.cpp | 2 |
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; } |