[ scummvm-Patches-624477 ] LOOM: Fix for bug #609716

noreply at sourceforge.net noreply at sourceforge.net
Thu Oct 17 08:34:25 CEST 2002


Patches item #624477, was opened at 2002-10-17 08:34
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=624477&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: LOOM: Fix for bug #609716

Initial Comment:
This fixes bug #609716 ("LOOMCD: Glitch when healing
Rusty") for me. Actually, I can only reproduce half of
the bug, so I'm assuming the other half has already
been fixed.

The problem with Rusty being partially obscured when
he's been healed comes from him being moved around with
ignoreBoxes != 0, which puts him in walkbox 0, which
has the wrong mask for this case. Rusty should be
walking in front of the tombstone, not behind it.

What this patch does is to change the masking behaviour
so that if the actor claims to be in walkbox 0 we check
to see which walkbox it really is in (which may still
be walkbox 0), and use the mask for that one instead.
Or, if it's not inside any walkbox at the moment, don't
mask at all. (This should only affect normal masking,
not charset masking, though with Loom it's hard to tell.)

At first I thought it'd be enough to just check if
ignoreBoxes was set, but checking if walkbox is 0 also
keeps Bobbin's feet from being obscured when Rusty's
ghost shows him what's happened to The Forge.

The bug report has a convenient savegame to test the
behaviour with.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=624477&group_id=37116




More information about the Scummvm-tracker mailing list