diff options
author | Christopher Page | 2008-08-13 20:45:00 +0000 |
---|---|---|
committer | Christopher Page | 2008-08-13 20:45:00 +0000 |
commit | 8d8c46e36fade04d4452f0ce1fbdd3ee942ac898 (patch) | |
tree | 08a4ea79ffbb070f1b194ed0ef0fef8d374b90cf /engines/agos/script.cpp | |
parent | 2d31207a8169491647d8fa3baab7eadbfdfa1da9 (diff) | |
download | scummvm-rg350-8d8c46e36fade04d4452f0ce1fbdd3ee942ac898.tar.gz scummvm-rg350-8d8c46e36fade04d4452f0ce1fbdd3ee942ac898.tar.bz2 scummvm-rg350-8d8c46e36fade04d4452f0ce1fbdd3ee942ac898.zip |
Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate
svn-id: r33848
Diffstat (limited to 'engines/agos/script.cpp')
-rw-r--r-- | engines/agos/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp index 2a2ddeeb86..39c172be62 100644 --- a/engines/agos/script.cpp +++ b/engines/agos/script.cpp @@ -1012,7 +1012,7 @@ int AGOSEngine::runScript() { executeOpcode(_opcode); } while (getScriptCondition() != flag && !getScriptReturn() && !quit()); - return (_quit) ? 1 : getScriptReturn(); + return (quit()) ? 1 : getScriptReturn(); } Child *nextSub(Child *sub, int16 key) { |