diff options
author | Paul Gilbert | 2014-11-09 18:39:54 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:27:18 -0500 |
commit | 6390f54d4b6e191d5b1f85d0a3f86e94bb110228 (patch) | |
tree | 4bff9331c8f0cc187c7c8c5e77fc7c124f1e7a85 | |
parent | 4ce87a51a061c31b0f2db605712ce7e0cab5b5d7 (diff) | |
download | scummvm-rg350-6390f54d4b6e191d5b1f85d0a3f86e94bb110228.tar.gz scummvm-rg350-6390f54d4b6e191d5b1f85d0a3f86e94bb110228.tar.bz2 scummvm-rg350-6390f54d4b6e191d5b1f85d0a3f86e94bb110228.zip |
ACCESS: Fix crash at end of cmdDead
-rw-r--r-- | engines/access/scripts.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp index 297118010e..9f321947f2 100644 --- a/engines/access/scripts.cpp +++ b/engines/access/scripts.cpp @@ -824,9 +824,10 @@ void Scripts::cmdDead() { warning("TODO: restart game"); _vm->quitGame(); - } - else { + _vm->_events->pollEvents(); + } else { _vm->quitGame(); + _vm->_events->pollEvents(); } } |