[Scummvm-git-logs] scummvm master -> d173cce7b40c06142ed583d8497f5b8a3f8502ea

bluegr noreply at scummvm.org
Sat Feb 1 09:41:39 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:
d173cce7b4 TUCKER: Fix skipping cutscenes when the Esc key is mapped - bug #15707


Commit: d173cce7b40c06142ed583d8497f5b8a3f8502ea
    https://github.com/scummvm/scummvm/commit/d173cce7b40c06142ed583d8497f5b8a3f8502ea
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-02-01T11:41:13+02: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