aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorTarek Soliman2019-06-21 17:34:29 -0500
committerPeter Kohaut2019-06-22 00:34:29 +0200
commit2287a4f607bab243ca6cb164942502c6ba82ce9d (patch)
tree0c5ecbbbde85ac205e99c5e21f8f524dfa12ff7b /engines/bladerunner
parent5c2489fd5488cc8dd9c74fae97d413678186a799 (diff)
downloadscummvm-rg350-2287a4f607bab243ca6cb164942502c6ba82ce9d.tar.gz
scummvm-rg350-2287a4f607bab243ca6cb164942502c6ba82ce9d.tar.bz2
scummvm-rg350-2287a4f607bab243ca6cb164942502c6ba82ce9d.zip
BLADERUNNER: Skip videos with Esc key only (#1690)
* BLADERUNNER: Skip videos with Esc key only Previously any keyup event skipped the intro videos (including Shift) * BLADERUNNER: Also skip movies with Return Alt-Return toggles fullscreen so we also make sure there's no modifiers
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/bladerunner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp
index 45bd857d0f..819adab552 100644
--- a/engines/bladerunner/bladerunner.cpp
+++ b/engines/bladerunner/bladerunner.cpp
@@ -1163,7 +1163,7 @@ void BladeRunnerEngine::handleKeyUp(Common::Event &event) {
return;
}
- if (_vqaIsPlaying) {
+ if (_vqaIsPlaying && (event.kbd.keycode == Common::KEYCODE_ESCAPE || (event.kbd.keycode == Common::KEYCODE_RETURN && event.kbd.flags == 0))) {
_vqaStopIsRequested = true;
_vqaIsPlaying = false;