Loom graphics fix
|Reported by:||eriktorbjorn||Owned by:||SF/ender|
There is a bug can cause actors in GF_SMALL_HEADER games to be drawn in front of objects, when they should be obscured by them. This semms to be because CostumeRenderer::mainRoutine() assumes that 'masking' will be either 1 or 0. However, in the GF_SMALL_HEADER it's set to _zbuf, which may be greater than that.
This can be seen in Loom, in the forest where you encounter the shepherds, and in the house where you meet with Fleece. Could someone please check that I haven't inadvertently broken any other GF_SMALL_HEADER games?
The patch is made against an August 13 CVS snapshot.
Ticket imported from: #594922. Ticket imported from: patches/115.