diff options
author | smatz <smatz@openttd.org> | 2008-04-03 19:55:40 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-03 19:55:40 +0000 |
commit | febc5150c9ee3f2df2a1cad8ef527d9541697b22 (patch) | |
tree | 6e5ae7f6b1b5f40dbc7a0e75f50db327a96a8b37 /src/tree_cmd.cpp | |
parent | 83f9e141e038d1564ca2ed9d2ff034afbc948dbc (diff) | |
download | openttd-febc5150c9ee3f2df2a1cad8ef527d9541697b22.tar.xz |
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r-- | src/tree_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index e05c7d1c1..93bca6182 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -445,7 +445,7 @@ static void DrawTile_Trees(TileInfo *ti) DrawClearLandFence(ti); /* Do not draw trees when the invisible trees patch and transparency tree are set */ - if (IsTransparencySet(TO_TREES) && _patches.invisible_trees) return; + if (IsInvisibilitySet(TO_TREES)) return; uint16 tmp = ti->x; |