diff options
author | Christopher Page | 2008-06-24 21:15:30 +0000 |
---|---|---|
committer | Christopher Page | 2008-06-24 21:15:30 +0000 |
commit | f878820bbee1e7e4659ca601872674082334fa63 (patch) | |
tree | d1b05985a2b1758e8648fe86a64a5ef2562f1765 /engines/agi/agi.cpp | |
parent | 65abece4c67c4fb574caac717fff24bfb5f31d69 (diff) | |
download | scummvm-rg350-f878820bbee1e7e4659ca601872674082334fa63.tar.gz scummvm-rg350-f878820bbee1e7e4659ca601872674082334fa63.tar.bz2 scummvm-rg350-f878820bbee1e7e4659ca601872674082334fa63.zip |
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
svn-id: r32770
Diffstat (limited to 'engines/agi/agi.cpp')
-rw-r--r-- | engines/agi/agi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 9d88dd73ef..3619b08c9d 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -62,7 +62,7 @@ void AgiEngine::processEvents() { while (_eventMan->pollEvent(event)) { switch (event.type) { case Common::EVENT_QUIT: - _game.quitProgNow = true; + _quit = true; break; case Common::EVENT_PREDICTIVE_DIALOG: if (_predictiveDialogRunning) @@ -809,7 +809,7 @@ int AgiEngine::go() { runGame(); - return 0; + return _rtl; } } // End of namespace Agi |