diff options
author | belugas <belugas@openttd.org> | 2007-11-13 03:34:24 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-11-13 03:34:24 +0000 |
commit | 1ecb96b2c6e948df02dbb02ceada0800684143be (patch) | |
tree | 7e0047947f514a1c8b02705c706f5a6f9cb028ba | |
parent | df71c4f289fb0a2124a5dfccbf154733686801f6 (diff) | |
download | openttd-1ecb96b2c6e948df02dbb02ceada0800684143be.tar.xz |
(svn r11426) -Codechange: Just one boolean inversion instead of two
-rw-r--r-- | src/tree_cmd.cpp | 2 |
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; |