diff options
Diffstat (limited to 'tree_cmd.c')
-rw-r--r-- | tree_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tree_cmd.c b/tree_cmd.c index 14851c6f8..88af5c5e3 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -1,6 +1,7 @@ #include "stdafx.h" #include "openttd.h" #include "table/strings.h" +#include "table/sprites.h" #include "table/tree_land.h" #include "map.h" #include "tile.h" @@ -302,7 +303,7 @@ static void DrawTile_Trees(TileInfo *ti) do { uint32 image = s[0] + (--i == 0 ? (ti->map5 & 7) : 3); if (_display_opt & DO_TRANS_BUILDINGS) - image = (image & 0x3FFF) | 0x3224000; + MAKE_TRANSPARENT(image); te[i].image = image; te[i].x = d[0]; te[i].y = d[1]; |