[ scummvm-Bugs-601139 ] LOOM: Flashlight glitch

noreply at sourceforge.net noreply at sourceforge.net
Wed Aug 28 08:28:48 CEST 2002


Bugs item #601139, was opened at 2002-08-28 08:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=601139&group_id=37116

Category: Graphics
Group: Loom CD/Talkie
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: LOOM: Flashlight glitch

Initial Comment:
When a line of text is removed while in a dark room,
that area is repainted with the lit room's background,
not the dark room's. See screenshots.

The problem is that restoreBG() is restoring the wrong
background. I can work around this by putting this code
at the top of the function:

    if (!(_vars[VAR_CURRENT_LIGHTS] & LIGHTMODE_screen) &&
          _vars[VAR_CURRENT_LIGHTS] &
LIGHTMODE_flashlight) {
            _fullRedraw = true;
            return;
    }

But that seems like an ugly hack to me. Surely there
has to be a better way than this?


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

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




More information about the Scummvm-tracker mailing list