From fcf4a7067d529d2f43d26be48cdc7daf395eddb1 Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 3 Apr 2008 19:55:40 +0000 Subject: (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent --- src/tree_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tree_cmd.cpp') 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; -- cgit v1.2.3-54-g00ecf