aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/input.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-05-20 21:40:53 +0000
committerChristopher Page2008-05-20 21:40:53 +0000
commitca76ef4e1fa2fc9ebe0daaa2b3b6e61bed87ea14 (patch)
treed78808dec0a17a7316781926ac761d5055a51533 /engines/agos/input.cpp
parent5e592d4e4aa7eb9929a9bbf1283a0382d890de84 (diff)
downloadscummvm-rg350-ca76ef4e1fa2fc9ebe0daaa2b3b6e61bed87ea14.tar.gz
scummvm-rg350-ca76ef4e1fa2fc9ebe0daaa2b3b6e61bed87ea14.tar.bz2
scummvm-rg350-ca76ef4e1fa2fc9ebe0daaa2b3b6e61bed87ea14.zip
AGOS Engine: Began implementation for a new quit event which will cleanly return to the launcher. This replaces the old shutdown() method within delay()
svn-id: r32203
Diffstat (limited to 'engines/agos/input.cpp')
-rw-r--r--engines/agos/input.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp
index add7eb96f0..d36549f187 100644
--- a/engines/agos/input.cpp
+++ b/engines/agos/input.cpp
@@ -189,12 +189,12 @@ void AGOSEngine::waitForInput() {
resetVerbs();
}
- for (;;) {
+ while (!_quit) {
_lastHitArea = NULL;
_lastHitArea3 = NULL;
_dragAccept = 1;
- for (;;) {
+ while (!_quit) {
if ((getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) &&
_keyPressed.keycode == Common::KEYCODE_F10)
displayBoxStars();