aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld_logic.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-18 21:13:39 +1000
committerPaul Gilbert2011-07-18 21:13:39 +1000
commitb3a05ee089e8f657f8ad1e5416ec06c56d95adf3 (patch)
treeff95070d27f6214486a9e8921340a45fde8a0aa7 /engines/tsage/ringworld_logic.cpp
parentc378aadc3f8b438fcb081945681dd2a370f617dc (diff)
downloadscummvm-rg350-b3a05ee089e8f657f8ad1e5416ec06c56d95adf3.tar.gz
scummvm-rg350-b3a05ee089e8f657f8ad1e5416ec06c56d95adf3.tar.bz2
scummvm-rg350-b3a05ee089e8f657f8ad1e5416ec06c56d95adf3.zip
TSAGE: Bugfix to make Return to Launcher work correctly
Diffstat (limited to 'engines/tsage/ringworld_logic.cpp')
-rw-r--r--engines/tsage/ringworld_logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld_logic.cpp b/engines/tsage/ringworld_logic.cpp
index 58501172af..070d8afd25 100644
--- a/engines/tsage/ringworld_logic.cpp
+++ b/engines/tsage/ringworld_logic.cpp
@@ -296,7 +296,7 @@ void SceneArea::draw(bool flag) {
void SceneArea::wait() {
// Wait until a mouse or keypress
Event event;
- while (!_vm->getEventManager()->shouldQuit() && !_globals->_events.getEvent(event)) {
+ while (!_vm->shouldQuit() && !_globals->_events.getEvent(event)) {
g_system->updateScreen();
g_system->delayMillis(10);
}