From 2287a4f607bab243ca6cb164942502c6ba82ce9d Mon Sep 17 00:00:00 2001 From: Tarek Soliman Date: Fri, 21 Jun 2019 17:34:29 -0500 Subject: 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 --- engines/bladerunner/bladerunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bladerunner') 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; -- cgit v1.2.3