SAM: Fix for object-layering problems
|Reported by:||eriktorbjorn||Owned by:||SF/ender|
|Cc:||Game:||Sam and Max|
My previous bugfix didn't kill the object-layering bug as thoroughly as I had hoped, but I think this patch will fix the remaining roblems. It changes the name of the dbDrawMaskOnBoth flag to dbDrawMaskOnAll, and makes it apply the first image mask to all Z planes, not just the first one.
Of course, I may just have broken The Dig and Full Throttle horribly. I have no idea what the flag is used for there.
The only remaining layering problem I know of is outside the Mystery Vortex, where the floating objects in the foreground will obscure the conversation icons. However, that problem is present in the original interpreter as well. It happens because the floating objects are put there with drawBomp(), which doesn't care about masking.
Ticket imported from: #616144. Ticket imported from: patches/174.