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
commit1ecb96b2c6e948df02dbb02ceada0800684143be (patch)
tree7e0047947f514a1c8b02705c706f5a6f9cb028ba /src
parentdf71c4f289fb0a2124a5dfccbf154733686801f6 (diff)
downloadopenttd-1ecb96b2c6e948df02dbb02ceada0800684143be.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;