summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-11-13 03:34:24 +0000
committerbelugas <belugas@openttd.org>2007-11-13 03:34:24 +0000
commit7d9d4e789b7de463d9b0957ba381e88ddddee659 (patch)
tree7e0047947f514a1c8b02705c706f5a6f9cb028ba /src
parentde47054936f14e619f88a2e43bbb31e5506407c0 (diff)
downloadopenttd-7d9d4e789b7de463d9b0957ba381e88ddddee659.tar.xz
(svn r11426) -Codechange: Just one boolean inversion instead of two
Diffstat (limited to 'src')
-rw-r--r--src/tree_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
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;