diff options
Diffstat (limited to 'engines/titanic/events.h')
-rw-r--r-- | engines/titanic/events.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/events.h b/engines/titanic/events.h index 430702be00..fdf9e915b0 100644 --- a/engines/titanic/events.h +++ b/engines/titanic/events.h @@ -79,7 +79,10 @@ public: virtual ~CPressTarget() {} virtual void leftButtonDown(const Point &mousePos) { _pressed = true; } virtual void middleButtonDown(const Point &mousePos) { _pressed = true; } - virtual void keyDown(Common::KeyState keyState) { _pressed = true; } + virtual void keyDown(Common::KeyState keyState) { + if (keyState.ascii) + _pressed = true; + } }; class Events { |