diff options
author | Christopher Page | 2008-06-02 21:08:49 +0000 |
---|---|---|
committer | Christopher Page | 2008-06-02 21:08:49 +0000 |
commit | a338d5fdb2715a7b29ae789c632a0cfa05803079 (patch) | |
tree | b80b3e278050d5027dddd2723cf60b5108893f08 /engines/parallaction/input.cpp | |
parent | 203f62ad7cfc3f931c98c8fc3ecdbb01924b896f (diff) | |
download | scummvm-rg350-a338d5fdb2715a7b29ae789c632a0cfa05803079.tar.gz scummvm-rg350-a338d5fdb2715a7b29ae789c632a0cfa05803079.tar.bz2 scummvm-rg350-a338d5fdb2715a7b29ae789c632a0cfa05803079.zip |
PARA: Got rid of calls to system->quit() so that the Parallaction engine can return to the launcher. Also fixed a couple of memory leaks.
svn-id: r32504
Diffstat (limited to 'engines/parallaction/input.cpp')
-rw-r--r-- | engines/parallaction/input.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp index 28d0ad888d..e758bbd41c 100644 --- a/engines/parallaction/input.cpp +++ b/engines/parallaction/input.cpp @@ -80,11 +80,8 @@ uint16 Input::readInput() { break; case Common::EVENT_QUIT: - // TODO: don't quit() here, just have caller routines to check - // on kEngineQuit and exit gracefully to allow the engine to shut down _engineFlags |= kEngineQuit; - _vm->_system->quit(); - break; + return KeyDown; default: break; |