diff options
Diffstat (limited to 'engines/sky/mouse.cpp')
-rw-r--r-- | engines/sky/mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sky/mouse.cpp b/engines/sky/mouse.cpp index c18eb6d901..524005b7e3 100644 --- a/engines/sky/mouse.cpp +++ b/engines/sky/mouse.cpp @@ -191,7 +191,7 @@ void Mouse::waitMouseNotPressed(int minDelay) { while (eventMan->pollEvent(event)) { switch (event.type) { case Common::EVENT_KEYDOWN: - if (event.kbd.ascii == 27) { + if (event.kbd.keycode == Common::KEYCODE_ESCAPE) { minDelay = 0; mousePressed = false; } |