(svn r11426) -Codechange: Just one boolean inversion instead of two
authorbelugas
Tue, 13 Nov 2007 03:34:24 +0000
changeset 7876 da2a6603bac5
parent 7875 6e6e7606b77a
child 7877 184477162db7
(svn r11426) -Codechange: Just one boolean inversion instead of two
src/tree_cmd.cpp
--- a/src/tree_cmd.cpp	Mon Nov 12 20:57:03 2007 +0000
+++ b/src/tree_cmd.cpp	Tue Nov 13 03:34:24 2007 +0000
@@ -428,7 +428,7 @@
 
 	StartSpriteCombine();
 
-	if (!IsTransparencySet(TO_TREES) || !_patches.invisible_trees) {
+	if (!(IsTransparencySet(TO_TREES) && _patches.invisible_trees)) {
 		TreeListEnt te[4];
 		uint i;