summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-02-20 17:12:08 +0000
committerpeter1138 <peter1138@openttd.org>2008-02-20 17:12:08 +0000
commit9e651575481dbdd4b587fe22e2d79b998bcbbe15 (patch)
tree22321e7009e53d04a9916a12449dbfbf72bc6556
parenta190606f2e7567898b71c663989cd47bed7eab91 (diff)
downloadopenttd-9e651575481dbdd4b587fe22e2d79b998bcbbe15.tar.xz
(svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent.
-rw-r--r--src/main_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index f02de6299..294cda694 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -977,8 +977,8 @@ static void ToolbarOptionsClick(Window *w)
if (HasBit(_display_opt, DO_WAYPOINTS)) SetBit(x, 9);
if (HasBit(_display_opt, DO_FULL_ANIMATION)) SetBit(x, 10);
if (HasBit(_display_opt, DO_FULL_DETAIL)) SetBit(x, 11);
- if (IsTransparencySet(TO_HOUSES) && IsTransparencySet(TO_TREES)) SetBit(x, 12);
- if (IsTransparencySet(TO_SIGNS)) SetBit(x, 13);
+ if (IsTransparencySet(TO_HOUSES)) SetBit(x, 12);
+ if (IsTransparencySet(TO_SIGNS)) SetBit(x, 13);
WP(w, menu_d).checked_items = x;
}