(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent

This commit is contained in:
smatz
2008-04-03 19:55:40 +00:00
parent b8e3bbe039
commit fcf4a7067d
21 changed files with 189 additions and 31 deletions

View File

@@ -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;