aboutsummaryrefslogtreecommitdiff
path: root/engines/made/pmvplayer.cpp
diff options
context:
space:
mode:
authorBenjamin Haisch2008-05-07 17:28:38 +0000
committerBenjamin Haisch2008-05-07 17:28:38 +0000
commita7f5150228c405b2083cf9fd5da5d0890610f113 (patch)
tree648b5cb27c48ce36866c10b963133834181e33eb /engines/made/pmvplayer.cpp
parent311e9165ed3b9442049e9e5e6b25c31d024f04ac (diff)
downloadscummvm-rg350-a7f5150228c405b2083cf9fd5da5d0890610f113.tar.gz
scummvm-rg350-a7f5150228c405b2083cf9fd5da5d0890610f113.tar.bz2
scummvm-rg350-a7f5150228c405b2083cf9fd5da5d0890610f113.zip
- cmd_return now exits the game if it returns from the main function
- Implemented cmd_exit - PmvPlayer now exits "more gracefully" when the application is closed while playing svn-id: r31930
Diffstat (limited to 'engines/made/pmvplayer.cpp')
-rw-r--r--engines/made/pmvplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/made/pmvplayer.cpp b/engines/made/pmvplayer.cpp
index 06dc4e5aed..b3f9915b92 100644
--- a/engines/made/pmvplayer.cpp
+++ b/engines/made/pmvplayer.cpp
@@ -188,8 +188,8 @@ void PmvPlayer::handleEvents() {
_abort = true;
break;
case Common::EVENT_QUIT:
- // TODO: Exit more gracefully
- g_system->quit();
+ _vm->_quit = true;
+ _abort = true;
break;
default:
break;