aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index b43539e8f2..61d173346e 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -111,11 +111,11 @@ GobEngine::~GobEngine() {
int GobEngine::go() {
_init->initGame(0);
- return _rtl;
+ return _eventMan->shouldRTL();
}
void GobEngine::shutdown() {
- _quit = true;
+ g_system->getEventManager()->pushEvent(Common::EVENT_QUIT);
}
const char *GobEngine::getLangDesc(int16 language) const {