aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/util.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-07-08 00:16:55 +0000
committerChristopher Page2008-07-08 00:16:55 +0000
commita43f016b94dd9214f0c72ae1f999a3a265977116 (patch)
tree83b2ba0813e4659bd660872baab3ef81b0ce1f69 /engines/gob/util.cpp
parent41938b7644d2f1937f28641eac68218515e1f058 (diff)
downloadscummvm-rg350-a43f016b94dd9214f0c72ae1f999a3a265977116.tar.gz
scummvm-rg350-a43f016b94dd9214f0c72ae1f999a3a265977116.tar.bz2
scummvm-rg350-a43f016b94dd9214f0c72ae1f999a3a265977116.zip
GOB works with the new GMM implementation
svn-id: r32955
Diffstat (limited to 'engines/gob/util.cpp')
-rw-r--r--engines/gob/util.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp
index d25628fe81..c38f2e9a77 100644
--- a/engines/gob/util.cpp
+++ b/engines/gob/util.cpp
@@ -72,7 +72,7 @@ void Util::longDelay(uint16 msecs) {
_vm->_video->waitRetrace();
processInput();
delay(15);
- } while (!_vm->_quit &&
+ } while (!g_system->getEventManager()->shouldQuit() &&
((g_system->getMillis() * _vm->_global->_speedFactor) < time));
}
@@ -118,9 +118,6 @@ void Util::processInput(bool scroll) {
break;
case Common::EVENT_KEYUP:
break;
- case Common::EVENT_QUIT:
- _vm->_quit = true;
- break;
default:
break;
}