aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2013-04-26 10:50:08 +1000
committerPaul Gilbert2013-04-26 10:50:08 +1000
commit5d48d8521939d4a62151e1dd1d996a6385ffaaae (patch)
treec404415f650837fd88a24cb8a35f389ddccb80ee /engines/hopkins/events.cpp
parenta39680ec21f0cb0b76f416430af2750500c161c4 (diff)
downloadscummvm-rg350-5d48d8521939d4a62151e1dd1d996a6385ffaaae.tar.gz
scummvm-rg350-5d48d8521939d4a62151e1dd1d996a6385ffaaae.tar.bz2
scummvm-rg350-5d48d8521939d4a62151e1dd1d996a6385ffaaae.zip
HOPKINS: Fix Return to Launcher
Diffstat (limited to 'engines/hopkins/events.cpp')
-rw-r--r--engines/hopkins/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp
index 58389ef2e9..51c66c4f92 100644
--- a/engines/hopkins/events.cpp
+++ b/engines/hopkins/events.cpp
@@ -237,7 +237,7 @@ void EventsManager::checkForNextFrameCounter() {
void EventsManager::delay(int totalMilli) {
uint32 delayEnd = g_system->getMillis() + totalMilli;
- while (!g_system->getEventManager()->shouldQuit() && g_system->getMillis() < delayEnd) {
+ while (!_vm->shouldQuit() && g_system->getMillis() < delayEnd) {
g_system->delayMillis(10);
}
}