diff options
author | peter1138 <peter1138@openttd.org> | 2008-02-20 17:12:08 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-02-20 17:12:08 +0000 |
commit | 86eec55b8ad268a117be3a3587ec9e5b834cdc0c (patch) | |
tree | 22321e7009e53d04a9916a12449dbfbf72bc6556 /src | |
parent | 9bdb194b2a94c60e54e1a8dac4b984a9f8d25914 (diff) | |
download | openttd-86eec55b8ad268a117be3a3587ec9e5b834cdc0c.tar.xz |
(svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent.
Diffstat (limited to 'src')
-rw-r--r-- | src/main_gui.cpp | 4 |
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; } |