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 /station_cmd.c | |
parent | 7bce410f619798f60a65c1c1dde9512598d7d3dd (diff) | |
download | openttd-1fed0046ac63119a6bc0f6bd4740fb7a2076f5da.tar.xz |
(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c index c76965c51..57e2db3d5 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -2188,7 +2188,7 @@ static void DrawTile_Station(TileInfo *ti) image = dtss->image + relocation; image += type_offset; if (_display_opt & DO_TRANS_BUILDINGS) { - image = (image & 0x3FFF) | 0x03224000; + MAKE_TRANSPARENT(image); } else { if (image&0x8000) image |= image_or_modificator; } |