From 9e651575481dbdd4b587fe22e2d79b998bcbbe15 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 20 Feb 2008 17:12:08 +0000 Subject: (svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent. --- src/main_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main_gui.cpp') 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; } -- cgit v1.2.3-54-g00ecf