diff options
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 5f7c8ea5d..9d55ff35b 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -971,14 +971,14 @@ static void ToolbarOptionsClick(Window *w) 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; } |