diff options
author | Paul Gilbert | 2015-03-23 20:34:34 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-23 20:34:34 -0400 |
commit | 73085bf57034adc2dbf5994ce2c6930b416eee7d (patch) | |
tree | d3c6c60a7cff231fdb0305173e0457a530bfa13e /engines/sherlock/animation.cpp | |
parent | 989d26897436103ff475b9987645b06265076bda (diff) | |
download | scummvm-rg350-73085bf57034adc2dbf5994ce2c6930b416eee7d.tar.gz scummvm-rg350-73085bf57034adc2dbf5994ce2c6930b416eee7d.tar.bz2 scummvm-rg350-73085bf57034adc2dbf5994ce2c6930b416eee7d.zip |
SHERLOCK: Beginnings of UserInterface class
Diffstat (limited to 'engines/sherlock/animation.cpp')
-rw-r--r-- | engines/sherlock/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/animation.cpp b/engines/sherlock/animation.cpp index 9d32746de4..e1687b5238 100644 --- a/engines/sherlock/animation.cpp +++ b/engines/sherlock/animation.cpp @@ -151,14 +151,14 @@ bool Animation::playPrologue(const Common::String &filename, int minDelay, int f events.wait(speed); } - if (events.isKeyPressed()) { + if (events.kbHit()) { Common::KeyState keyState = events.getKey(); if (keyState.keycode == Common::KEYCODE_ESCAPE || keyState.keycode == Common::KEYCODE_SPACE) { skipped = true; break; } - } else if (events._mouseClicked) { + } else if (events._pressed) { skipped = true; break; } |