SAM: Inventory masking regression
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
|Game:||Sam and Max|
Here's a bug I get in the latest CVS, but not in 0.6.0:
Walk Sam to the foreground, so that he can't be masked by anything. I don't think you can do this in the office, but you can do it in the hallway outside.
Open the inventory box. Examine something (e.g. Max, if you're not carrying anything else). Wait for the subtitles to be removed.
Sam is now visible through the inventory box.
I'm not quite sure what's happening, but Sam & Max uses the dbDrawMaskOnAll feature to draw the inventory. This causes the object's mask to be drawn on all mask buffers, including (and this is the important one) the same one as is used by the charset mask.
Is it possible that the recent charset mask changes means that enough of the charset mask is cleared that Sam is no longer masked after the subtitles have been removed?
Ticket imported from: #937017. Ticket imported from: bugs/1601.