diff src/main_gui.cpp @ 7931:44ff7a6d801f draft

(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
author skidd13 <skidd13@openttd.org>
date Tue, 20 Nov 2007 13:35:54 +0000
parents 4d13dbed828c
children 712f252f0d4d
line wrap: on
line diff
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -971,14 +971,14 @@
 
 	w = PopupMainToolbMenu(w, 2, STR_02C3_GAME_OPTIONS, 14, 0);
 
-	if (HasBit(_display_opt, DO_SHOW_TOWN_NAMES))    SETBIT(x,  6);
-	if (HasBit(_display_opt, DO_SHOW_STATION_NAMES)) SETBIT(x,  7);
-	if (HasBit(_display_opt, DO_SHOW_SIGNS))         SETBIT(x,  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 (HasBit(_display_opt, DO_SHOW_TOWN_NAMES))    SetBit(x,  6);
+	if (HasBit(_display_opt, DO_SHOW_STATION_NAMES)) SetBit(x,  7);
+	if (HasBit(_display_opt, DO_SHOW_SIGNS))         SetBit(x,  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);
 	WP(w,menu_d).checked_items = x;
 }