diff options
author | Christopher Page | 2008-05-27 20:15:36 +0000 |
---|---|---|
committer | Christopher Page | 2008-05-27 20:15:36 +0000 |
commit | 369f7b0d083cf78a8d00310f2e35013717ff09fc (patch) | |
tree | 4f363a9d9baa8720fc6ac29da51d34677638c1e7 | |
parent | e41bd1eae8a15ea28237b090a833b94ca68c39ad (diff) | |
download | scummvm-rg350-369f7b0d083cf78a8d00310f2e35013717ff09fc.tar.gz scummvm-rg350-369f7b0d083cf78a8d00310f2e35013717ff09fc.tar.bz2 scummvm-rg350-369f7b0d083cf78a8d00310f2e35013717ff09fc.zip |
AGI: Modified AGI Engine to shutdown without using system->quit
svn-id: r32329
-rw-r--r-- | engines/agi/agi.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 3e0987bc18..9d88dd73ef 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -62,9 +62,7 @@ void AgiEngine::processEvents() { while (_eventMan->pollEvent(event)) { switch (event.type) { case Common::EVENT_QUIT: - _gfx->deinitVideo(); - _gfx->deinitMachine(); - _system->quit(); + _game.quitProgNow = true; break; case Common::EVENT_PREDICTIVE_DIALOG: if (_predictiveDialogRunning) |