diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 14:11:19 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 14:11:19 +0000 |
commit | f92f3aec06203081ca8fadcbc5fb652e92bf8e30 (patch) | |
tree | 4c9dc0c05cd700da1675c02c334dcc834adf512c /src/main_gui.cpp | |
parent | 3ae50673a3e1e64a6038c53570c5ee168073e038 (diff) | |
download | openttd-f92f3aec06203081ca8fadcbc5fb652e92bf8e30.tar.xz |
(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 9d55ff35b..374548127 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -167,12 +167,12 @@ static void MenuClickSettings(int index) case 3: ShowNewGRFSettings(!_networking, true, true, &_grfconfig); return; case 4: ShowTransparencyToolbar(); break; - case 6: TOGGLEBIT(_display_opt, DO_SHOW_TOWN_NAMES); break; - case 7: TOGGLEBIT(_display_opt, DO_SHOW_STATION_NAMES); break; - case 8: TOGGLEBIT(_display_opt, DO_SHOW_SIGNS); break; - case 9: TOGGLEBIT(_display_opt, DO_WAYPOINTS); break; - case 10: TOGGLEBIT(_display_opt, DO_FULL_ANIMATION); break; - case 11: TOGGLEBIT(_display_opt, DO_FULL_DETAIL); break; + case 6: ToggleBit(_display_opt, DO_SHOW_TOWN_NAMES); break; + case 7: ToggleBit(_display_opt, DO_SHOW_STATION_NAMES); break; + case 8: ToggleBit(_display_opt, DO_SHOW_SIGNS); break; + case 9: ToggleBit(_display_opt, DO_WAYPOINTS); break; + case 10: ToggleBit(_display_opt, DO_FULL_ANIMATION); break; + case 11: ToggleBit(_display_opt, DO_FULL_DETAIL); break; case 12: ToggleTransparency(TO_TREES); ToggleTransparency(TO_HOUSES); |