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/exec_ns.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/exec_ns.cpp')
-rw-r--r-- | engines/parallaction/exec_ns.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp index 68ae91c73e..f7c3b895c2 100644 --- a/engines/parallaction/exec_ns.cpp +++ b/engines/parallaction/exec_ns.cpp @@ -518,6 +518,8 @@ uint16 Parallaction::runZone(ZonePtr z) { case kZoneSpeak: runDialogue(z->u.speak); + if (_engineFlags & kEngineQuit) + return 0; break; } |