(svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent.
authorpeter1138
Wed, 20 Feb 2008 17:12:08 +0000
changeset 9111 7f882e1856c2
parent 9110 55864e1fc263
child 9112 ec6800eaa340
(svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent.
src/main_gui.cpp
--- a/src/main_gui.cpp	Wed Feb 20 17:06:58 2008 +0000
+++ b/src/main_gui.cpp	Wed Feb 20 17:12:08 2008 +0000
@@ -977,8 +977,8 @@
 	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;
 }