From a43f016b94dd9214f0c72ae1f999a3a265977116 Mon Sep 17 00:00:00 2001 From: Christopher Page Date: Tue, 8 Jul 2008 00:16:55 +0000 Subject: GOB works with the new GMM implementation svn-id: r32955 --- engines/gob/util.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines/gob/util.cpp') 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; } -- cgit v1.2.3