diff options
author | belugas <belugas@openttd.org> | 2008-01-30 17:36:28 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-01-30 17:36:28 +0000 |
commit | caf7e8655c4d26b62795817f50da01ce744d2973 (patch) | |
tree | 9faeacbb5a9ce414828f7061dd7ad9e356f64e0e /src/tree_cmd.cpp | |
parent | 953c3cb6df0196aa5a908d6f2eaebd51584c4cf0 (diff) | |
download | openttd-caf7e8655c4d26b62795817f50da01ce744d2973.tar.xz |
(svn r12022) -Revert(r12018): Invisible trees are now separate from the building concept.
So when you want invisible trees, just select the option of the same name in the Patch Options and toggle transparency of trees.
More to come on the saga of Invisibility. So stay tuned.
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r-- | src/tree_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 890243ed6..1adce1a9d 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -428,8 +428,8 @@ static void DrawTile_Trees(TileInfo *ti) StartSpriteCombine(); - /* Do not draw trees when buildings are transparent and when the invisile trees patch is on */ - if (!(_patches.invisible_trees && IsTransparencySet(TO_HOUSES))) { + /* Do not draw trees when the invisible trees patch and transparency tree are set */ + if (!(IsTransparencySet(TO_TREES) && _patches.invisible_trees)) { TreeListEnt te[4]; uint i; |