aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-12 11:21:12 +0200
committerEugene Sandulenko2014-01-12 11:21:12 +0200
commitfc69e5a71a01626a7a6c4afa75adaacfb8bef2db (patch)
tree3b69c0340e544854c22c31490a677bfc3170f127
parentcf6cfc1cf825451807d9fb31fe5e33eef94c17dc (diff)
downloadscummvm-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.cpp5
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;
}