From 7d9d4e789b7de463d9b0957ba381e88ddddee659 Mon Sep 17 00:00:00 2001 From: belugas Date: Tue, 13 Nov 2007 03:34:24 +0000 Subject: (svn r11426) -Codechange: Just one boolean inversion instead of two --- src/tree_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 3e53fbee7..ae83a76ca 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -428,7 +428,7 @@ static void DrawTile_Trees(TileInfo *ti) StartSpriteCombine(); - if (!IsTransparencySet(TO_TREES) || !_patches.invisible_trees) { + if (!(IsTransparencySet(TO_TREES) && _patches.invisible_trees)) { TreeListEnt te[4]; uint i; -- cgit v1.2.3-70-g09d2