aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-06-26 04:54:29 +0000
committerChristopher Page2008-06-26 04:54:29 +0000
commitd2c0b9d0034a5f5cf49c2fae769b146c6ffc980e (patch)
tree97975aea74c98a5de890a546c0c09bd812c2fb12 /engines/sword2/sword2.cpp
parente53556af85bf3727d42898625a6eee508ca82862 (diff)
downloadscummvm-rg350-d2c0b9d0034a5f5cf49c2fae769b146c6ffc980e.tar.gz
scummvm-rg350-d2c0b9d0034a5f5cf49c2fae769b146c6ffc980e.tar.bz2
scummvm-rg350-d2c0b9d0034a5f5cf49c2fae769b146c6ffc980e.zip
Sword2 now uses the new _quit flag
svn-id: r32794
Diffstat (limited to 'engines/sword2/sword2.cpp')
-rw-r--r--engines/sword2/sword2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index 7331d1f761..dc52bc5630 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -229,7 +229,6 @@ Sword2Engine::Sword2Engine(OSystem *syst) : Engine(syst) {
_gameCycle = 0;
_gameSpeed = 1;
- _quit = false;
syst->getEventManager()->registerRandomSource(_rnd, "sword2");
}
@@ -460,7 +459,7 @@ int Sword2Engine::go() {
#endif
}
- return 0;
+ return _rtl;
}
void Sword2Engine::closeGame() {