[Scummvm-git-logs] scummvm branch-2-9 -> 40a761cb20c2fe1453f704c7ae10673fbf1b16ec

eriktorbjorn noreply at scummvm.org
Wed Feb 12 19:21:26 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
40a761cb20 TUCKER: Fix skipping cutscenes when the Esc key is mapped - bug #15707


Commit: 40a761cb20c2fe1453f704c7ae10673fbf1b16ec
    https://github.com/scummvm/scummvm/commit/40a761cb20c2fe1453f704c7ae10673fbf1b16ec
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-02-12T20:21:14+01:00

Commit Message:
TUCKER: Fix skipping cutscenes when the Esc key is mapped - bug #15707

Thanks to @eriktorbjorn for finding the issue. A regression from 783dfa8bdff5745a5929b3ec85ce91f679aed61c

Changed paths:
    engines/tucker/sequences.cpp


diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp
index 44850c04945..ef68040f617 100644
--- a/engines/tucker/sequences.cpp
+++ b/engines/tucker/sequences.cpp
@@ -578,8 +578,8 @@ void AnimationSequencePlayer::syncTime() {
 		Common::Event ev;
 		while (_event->pollEvent(ev)) {
 			switch (ev.type) {
-			case Common::EVENT_KEYDOWN:
-				if (ev.kbd.keycode == Common::KEYCODE_ESCAPE) {
+			case Common::EVENT_CUSTOM_ENGINE_ACTION_START:
+				if (ev.customType == kActionEscape) {
 					_seqNum = 1;
 				}
 				break;




More information about the Scummvm-git-logs mailing list