[Scummvm-tracker] [ScummVM :: Bugs] #15047: SCUMM: DIG: "Holding an object"-state gets cancelled by cutscene override
ScummVM :: Bugs
trac at scummvm.org
Fri Aug 9 04:45:30 UTC 2024
#15047: SCUMM: DIG: "Holding an object"-state gets cancelled by cutscene override
----------------------------------+----------------------------
Reporter: mike-SpeedyAdventures | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: | Game: The Dig
----------------------------------+----------------------------
Comment (by eriktorbjorn):
This seems to fix the problem for me. I have no idea if it's the correct
way of doing it, though:
{{{
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 6aeb9dc3a0f..b408aad3c79 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -589,8 +589,8 @@ void ScummEngine_v7::processKeyboard(Common::KeyState
lastKeyHit) {
abortCutscene();
}
- _mouseAndKeyboardStat = Common::ASCII_ESCAPE;
-
+ if (!VAR(VAR_OVERRIDE))
+ _mouseAndKeyboardStat = Common::ASCII_ESCAPE;
} else {
// Fall back to V6 behavior
ScummEngine_v6::processKeyboard(lastKeyHit);
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/15047#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list