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/input.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/input.cpp')
-rw-r--r-- | engines/agos/input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp index ca6b67fa61..689dee610a 100644 --- a/engines/agos/input.cpp +++ b/engines/agos/input.cpp @@ -123,7 +123,7 @@ void AGOSEngine::setup_cond_c_helper() { clearName(); _lastNameOn = last; - while (!_quit) { + while (!quit()) { _lastHitArea = NULL; _lastHitArea3 = 0; _leftButtonDown = 0; @@ -145,7 +145,7 @@ void AGOSEngine::setup_cond_c_helper() { } delay(100); - } while ((_lastHitArea3 == (HitArea *) -1 || _lastHitArea3 == 0) && !_quit); + } while ((_lastHitArea3 == (HitArea *) -1 || _lastHitArea3 == 0) && !quit()); if (_lastHitArea == NULL) { } else if (_lastHitArea->id == 0x7FFB) { |