diff options
author | celestar <celestar@openttd.org> | 2005-07-20 22:05:13 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-07-20 22:05:13 +0000 |
commit | 1fed0046ac63119a6bc0f6bd4740fb7a2076f5da (patch) | |
tree | 1ff55f896a0c9995f049df3b3dd998c1694a611a /rail_cmd.c | |
parent | 7bce410f619798f60a65c1c1dde9512598d7d3dd (diff) | |
download | openttd-1fed0046ac63119a6bc0f6bd4740fb7a2076f5da.tar.xz |
(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 33e9255cd..3bb1a30ca 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -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); } |