diff options
author | Filippos Karapetis | 2008-05-09 15:49:38 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-05-09 15:49:38 +0000 |
commit | 3f3ba85bf1d0dec2e4b62b4f843e94ec6e3597f2 (patch) | |
tree | 296f788b8956a213ccf6fb98b53fd03072c2f97d /engines/made/scriptfuncs_mhne.cpp | |
parent | a83d79bafd5b4e15d4e4fbfbed35ab2ea878dc12 (diff) | |
download | scummvm-rg350-3f3ba85bf1d0dec2e4b62b4f843e94ec6e3597f2.tar.gz scummvm-rg350-3f3ba85bf1d0dec2e4b62b4f843e94ec6e3597f2.tar.bz2 scummvm-rg350-3f3ba85bf1d0dec2e4b62b4f843e94ec6e3597f2.zip |
Exit more gracefully when a quit event is triggered
svn-id: r31966
Diffstat (limited to 'engines/made/scriptfuncs_mhne.cpp')
-rw-r--r-- | engines/made/scriptfuncs_mhne.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/made/scriptfuncs_mhne.cpp b/engines/made/scriptfuncs_mhne.cpp index f8e02365b0..bfec0a883d 100644 --- a/engines/made/scriptfuncs_mhne.cpp +++ b/engines/made/scriptfuncs_mhne.cpp @@ -179,8 +179,7 @@ int16 ScriptFunctionsMhne::o1_EVENT(int16 argc, int16 *argv) { break; case Common::EVENT_QUIT: - // TODO: Exit more gracefully. - g_system->quit(); + _vm->_quit = true; break; default: |