aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-06-24 23:19:23 +0000
committerChristopher Page2008-06-24 23:19:23 +0000
commitc14804e22f5171e6aa7b2cf5d383a4e28180aa7a (patch)
tree95f81d04ca309d76348ce86c71823693f310a379 /engines/gob/gob.cpp
parentf878820bbee1e7e4659ca601872674082334fa63 (diff)
downloadscummvm-rg350-c14804e22f5171e6aa7b2cf5d383a4e28180aa7a.tar.gz
scummvm-rg350-c14804e22f5171e6aa7b2cf5d383a4e28180aa7a.tar.bz2
scummvm-rg350-c14804e22f5171e6aa7b2cf5d383a4e28180aa7a.zip
Added main menu dialog files. Gob is now using the new _quit flag
svn-id: r32771
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index a3fe0ebbe2..b43539e8f2 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -82,7 +82,6 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst) {
_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume"));
_copyProtection = ConfMan.getBool("copy_protection");
- _quitRequested = false;
Common::addSpecialDebugLevel(kDebugFuncOp, "FuncOpcodes", "Script FuncOpcodes debug level");
Common::addSpecialDebugLevel(kDebugDrawOp, "DrawOpcodes", "Script DrawOpcodes debug level");
@@ -112,11 +111,11 @@ GobEngine::~GobEngine() {
int GobEngine::go() {
_init->initGame(0);
- return 0;
+ return _rtl;
}
void GobEngine::shutdown() {
- _quitRequested = true;
+ _quit = true;
}
const char *GobEngine::getLangDesc(int16 language) const {