diff options
author | Eugene Sandulenko | 2014-01-12 11:21:12 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-12 11:21:12 +0200 |
commit | fc69e5a71a01626a7a6c4afa75adaacfb8bef2db (patch) | |
tree | 3b69c0340e544854c22c31490a677bfc3170f127 | |
parent | cf6cfc1cf825451807d9fb31fe5e33eef94c17dc (diff) | |
download | scummvm-rg350-fc69e5a71a01626a7a6c4afa75adaacfb8bef2db.tar.gz scummvm-rg350-fc69e5a71a01626a7a6c4afa75adaacfb8bef2db.tar.bz2 scummvm-rg350-fc69e5a71a01626a7a6c4afa75adaacfb8bef2db.zip |
FULLPIPE: Fix ModalVideoPlayer. Original reacts to more keys
-rw-r--r-- | engines/fullpipe/modal.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp index 6db916ae4f..729b4035f0 100644 --- a/engines/fullpipe/modal.cpp +++ b/engines/fullpipe/modal.cpp @@ -256,7 +256,10 @@ void ModalVideoPlayer::play(const char *filename) { Common::Event event; while (g_fp->_system->getEventManager()->pollEvent(event)) { - if ((event.type == Common::EVENT_KEYDOWN && event.kbd.keycode == Common::KEYCODE_ESCAPE) || event.type == Common::EVENT_LBUTTONUP) + if ((event.type == Common::EVENT_KEYDOWN && (event.kbd.keycode == Common::KEYCODE_ESCAPE || + event.kbd.keycode == Common::KEYCODE_RETURN || + event.kbd.keycode == Common::KEYCODE_SPACE)) + || event.type == Common::EVENT_LBUTTONUP) skipVideo = true; } |