[Scummvm-tracker] [ScummVM :: Bugs] #15707: TUCKER: Unable to skip the 10 minute intro to Bud Tucker (2.9.0)
ScummVM :: Bugs
trac at scummvm.org
Wed Jan 22 11:14:32 UTC 2025
#15707: TUCKER: Unable to skip the 10 minute intro to Bud Tucker (2.9.0)
---------------------------------+-----------------------------
Reporter: RightSaidBrett | Owner: (none)
Type: defect | Status: new
Priority: high | Component: Engine: Tucker
Version: | Resolution:
Keywords: bud tucker bug intro | Game: Bud Tucker
---------------------------------+-----------------------------
Comment (by eriktorbjorn):
Is this the correct fix? I haven't really looked at the keymapper stuff,
but the main event loop went from checking `EVENT_KEYDOWN` to checking
`EVENT_CUSTOM_ENGINE_ACTION_START` to detect the Esc key.
{{{
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;
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/15707#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list