aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/events.cpp')
-rw-r--r--engines/lure/events.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/events.cpp b/engines/lure/events.cpp
index d3b1235ec9..4454452db9 100644
--- a/engines/lure/events.cpp
+++ b/engines/lure/events.cpp
@@ -191,7 +191,8 @@ void Events::waitForPress() {
while (!keyButton) {
while (pollEvent()) {
if (_event.type == Common::EVENT_QUIT) return;
- else if (_event.type == Common::EVENT_KEYDOWN) keyButton = true;
+ else if ((_event.type == Common::EVENT_KEYDOWN) && (_event.kbd.ascii != 0))
+ keyButton = true;
else if ((_event.type == Common::EVENT_LBUTTONDOWN) ||
(_event.type == Common::EVENT_MBUTTONDOWN) ||
(_event.type == Common::EVENT_RBUTTONDOWN)) {