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 /road_cmd.c | |
parent | 7bce410f619798f60a65c1c1dde9512598d7d3dd (diff) | |
download | openttd-1fed0046ac63119a6bc0f6bd4740fb7a2076f5da.tar.xz |
(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c index 470b9f22d..26ef7ff8a 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -874,7 +874,7 @@ static void DrawTile_Road(TileInfo *ti) if (image & 0x8000) image |= ormod; if (_display_opt & DO_TRANS_BUILDINGS) // show transparent depots - image = (image & 0x3FFF) | 0x3224000; + MAKE_TRANSPARENT(image); AddSortableSpriteToDraw(image, ti->x | drss->subcoord_x, ti->y | drss->subcoord_y, drss->width, drss->height, 0x14, ti->z); |