[Scummvm-tracker] [ScummVM :: Bugs] #13246: AGS - Mage's Initiation - crashes while entering the Palace on Lone Island

ScummVM :: Bugs trac at scummvm.org
Tue Feb 1 14:56:42 UTC 2022


#13246: AGS - Mage's Initiation - crashes while entering the Palace on Lone Island
--------------------------+--------------------------
Reporter:  menschel       |       Owner:  (none)
    Type:  defect         |      Status:  new
Priority:  normal         |   Component:  Engine: AGS
 Version:                 |  Resolution:
Keywords:  mage-fallback  |        Game:
--------------------------+--------------------------
Comment (by criezy):

 Thank you.
 The good news is that I can reproduce the crash with my development
 version of ScummVM. So I should be able to investigate this without
 further inputs.

 I took a very quick look and the issue is that we have a spurious
 `light_amount` value or `-26335` when calling `Bitmap::LitBlendBlt` to
 light the character sprite. The issue seems to be when computing the
 `light_level` and `tint_light` in `get_local_tint()` called from
 `prepare_characters_for_drawing()`.

 I (or another developer) will need to spend more time debugging this and
 comparing with what happens in the original. I may not have time to do
 this before this weekend, so don't worry if you don't get update in the
 next few days.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13246#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list