aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-16 08:11:52 +0000
committerPaul Gilbert2007-12-16 08:11:52 +0000
commit258bd20a837c727744c57c1746b4d3da7bf4267a (patch)
tree6002a0c9d5ab56f833ebc9152f5c425a4dd2ad62
parent2a8166dde54a164a408453cf31730906ae2bc378 (diff)
downloadscummvm-rg350-258bd20a837c727744c57c1746b4d3da7bf4267a.tar.gz
scummvm-rg350-258bd20a837c727744c57c1746b4d3da7bf4267a.tar.bz2
scummvm-rg350-258bd20a837c727744c57c1746b4d3da7bf4267a.zip
Changed interruptableDelay method to not break when a modifier key is pressed
svn-id: r29871
-rw-r--r--engines/lure/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/events.cpp b/engines/lure/events.cpp
index 6010eeb9d1..52916df0cc 100644
--- a/engines/lure/events.cpp
+++ b/engines/lure/events.cpp
@@ -205,7 +205,7 @@ bool Events::interruptableDelay(uint32 milliseconds) {
if (events.quitFlag) return true;
if (events.pollEvent()) {
- if ((events.type() == Common::EVENT_KEYDOWN) ||
+ if (((events.type() == Common::EVENT_KEYDOWN) && (events.event().kbd.ascii != 0)) ||
(events.type() == Common::EVENT_LBUTTONDOWN))
return true;
}