From 94aa04948c35a08fadc26a1213440f83fc1f6825 Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 30 Jan 2008 03:34:24 +0000 Subject: (svn r12018) -Fix(FS#1721,r9563): Restore initial intent on the invisible tree while transparent building patch setting --- src/tree_cmd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tree_cmd.cpp') diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 6a9526958..7fc9c133c 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -428,7 +428,8 @@ static void DrawTile_Trees(TileInfo *ti) StartSpriteCombine(); - if (!(IsTransparencySet(TO_TREES) && _patches.invisible_trees)) { + /* Do not draw trees when buildings are transparent and when the invisile trees patch is on */ + if (!(_patches.invisible_trees && IsTransparencySet(TO_HOUSES))) { TreeListEnt te[4]; uint i; -- cgit v1.2.3-54-g00ecf