[Scummvm-tracker] [ScummVM :: Bugs] #13367: SCUMM: Loom (EGA) - Bobbin as Rusty can exit the cell when the door is locked
ScummVM :: Bugs
trac at scummvm.org
Mon Mar 21 14:57:45 UTC 2022
#13367: SCUMM: Loom (EGA) - Bobbin as Rusty can exit the cell when the door is
locked
--------------------------------+----------------------------
Reporter: antoniou79 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: glitch, blacksmiths | Game: Loom
--------------------------------+----------------------------
Comment (by eriktorbjorn):
Here's another possible workaround. This one won't fix old savegames, but
on the other hand the behavior of clicking on the ground beneath the door
is a bit more consistent, i.e. nothing happens while the door is closed.
{{{
diff --git a/engines/scumm/script_v3.cpp b/engines/scumm/script_v3.cpp
index f9473a7ee4a..e97b6b7c672 100644
--- a/engines/scumm/script_v3.cpp
+++ b/engines/scumm/script_v3.cpp
@@ -46,6 +46,18 @@ void ScummEngine_v3::o3_setBoxFlags() {
a = getVarOrDirectByte(PARAM_1);
b = fetchScriptByte();
setBoxFlags(a, b);
+
+ // WORKAROUND: When Stoke leaves Bobbin in the cell, the door is
closed
+ // but the open door object is not set as untouchable. That means
you
+ // can walk straight through the door, if you click on the ground
just
+ // below it.
+ //
+ // We work around this by making the object untouchable when the
walk
+ // boxes are adjusted by the script.
+
+ if (_game.id == GID_LOOM && _game.platform == Common::kPlatformDOS
&& vm.slot[_currentScript].number == 86 && a == 0 && b == 128) {
+ putClass(623, 24, 1);
+ }
}
void ScummEngine_v3::o3_waitForActor() {
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/13367#comment:14>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list