(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite

This commit is contained in:
celestar
2005-07-20 22:05:13 +00:00
parent 18a93cca3d
commit 85f06d6e7b
10 changed files with 21 additions and 17 deletions

View File

@@ -1352,7 +1352,7 @@ static void DrawSpecialBuilding(uint32 image, uint32 tracktype_offs,
image |= _drawtile_track_palette;
image += tracktype_offs;
if (_display_opt & DO_TRANS_BUILDINGS) // show transparent depots
image = (image & 0x3FFF) | 0x3224000;
MAKE_TRANSPARENT(image);
AddSortableSpriteToDraw(image, ti->x + x, ti->y + y, xsize, ysize, zsize, ti->z + z);
}