src/tree_cmd.cpp
changeset 8948 a04421da1801
parent 8946 85eff1ad8cda
child 8950 78a73e266037
--- a/src/tree_cmd.cpp	Wed Jan 30 17:31:39 2008 +0000
+++ b/src/tree_cmd.cpp	Wed Jan 30 17:36:28 2008 +0000
@@ -428,8 +428,8 @@
 
 	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;