changeset 7876:c0e32f921e0c draft

(svn r11426) -Codechange: Just one boolean inversion instead of two
author belugas <belugas@openttd.org>
date Tue, 13 Nov 2007 03:34:24 +0000
parents 02dd433b7846
children ed3d165519dd
files src/tree_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/tree_cmd.cpp
+++ b/src/tree_cmd.cpp
@@ -428,7 +428,7 @@
 
 	StartSpriteCombine();
 
-	if (!IsTransparencySet(TO_TREES) || !_patches.invisible_trees) {
+	if (!(IsTransparencySet(TO_TREES) && _patches.invisible_trees)) {
 		TreeListEnt te[4];
 		uint i;