aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-17 12:22:30 +0000
committerJohannes Schickel2009-08-17 12:22:30 +0000
commit09a8fa4efb531b9420a621419101ceb2cad6f407 (patch)
tree6504be3acfe1024d74170f00e67145de07c8e276 /engines
parentb7b637046355522ce75c3b18dfbc8f3e8cc0aa76 (diff)
downloadscummvm-rg350-09a8fa4efb531b9420a621419101ceb2cad6f407.tar.gz
scummvm-rg350-09a8fa4efb531b9420a621419101ceb2cad6f407.tar.bz2
scummvm-rg350-09a8fa4efb531b9420a621419101ceb2cad6f407.zip
Clear input queue before displaying the credits in Kyrandia 1.
svn-id: r43474
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sequences_lok.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/sequences_lok.cpp b/engines/kyra/sequences_lok.cpp
index 202e314e07..d2ef351767 100644
--- a/engines/kyra/sequences_lok.cpp
+++ b/engines/kyra/sequences_lok.cpp
@@ -1134,6 +1134,11 @@ void KyraEngine_LoK::seq_playEnding() {
_seqPlayerFlag = false;
_screen->showMouse();
+
+ // To avoid any remaining input events, we remove the queue
+ // over here.
+ _eventList.clear();
+
if (_flags.platform == Common::kPlatformAmiga) {
_screen->_charWidth = -2;
_screen->setCurPage(2);