diff options
author | Torbjörn Andersson | 2009-01-04 13:14:11 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-01-04 13:14:11 +0000 |
commit | 4273d0db92f37dcaefea280022e9d6b2effafeb9 (patch) | |
tree | 3700ea5dbb723c84f072c88b3ad477483c495096 /engines/agos | |
parent | b354df11af44155d1f55df0a806dcb598946dad3 (diff) | |
download | scummvm-rg350-4273d0db92f37dcaefea280022e9d6b2effafeb9.tar.gz scummvm-rg350-4273d0db92f37dcaefea280022e9d6b2effafeb9.tar.bz2 scummvm-rg350-4273d0db92f37dcaefea280022e9d6b2effafeb9.zip |
Fixed a crash when quitting Swampy Adventures. (Regression from the RTL changes.)
svn-id: r35722
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/script.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp index 4bcb573e09..3771e2fba5 100644 --- a/engines/agos/script.cpp +++ b/engines/agos/script.cpp @@ -411,6 +411,8 @@ void AGOSEngine::o_msg() { void AGOSEngine::o_end() { // 68: exit interpreter quitGame(); + // Make sure the quit event is processed immediately. + delay(0); } void AGOSEngine::o_done() { |