Sword2 now uses the new _quit flag

svn-id: r32794
This commit is contained in:
Christopher Page 2008-06-26 04:54:29 +00:00
parent e53556af85
commit d2c0b9d003
2 changed files with 1 additions and 4 deletions

View File

@ -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() {

View File

@ -141,8 +141,6 @@ public:
bool getSubtitles() { return _useSubtitles; }
void setSubtitles(bool b) { _useSubtitles = b; }
bool _quit;
uint32 _features;
MemoryManager *_memory;