mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-28 16:09:36 +01:00
(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.
This commit is contained in:
parent
f5f05b4e86
commit
da5fb0cf7e
@ -162,11 +162,11 @@ static void ToolbarOptionsClick(Window *w)
|
||||
static void MenuClickSettings(int index)
|
||||
{
|
||||
switch (index) {
|
||||
case 0: ShowGameOptions(); return;
|
||||
case 1: ShowGameDifficulty(); return;
|
||||
case 2: ShowPatchesSelection(); return;
|
||||
case 3: ShowNewGRFSettings(!_networking, true, true, &_grfconfig); return;
|
||||
case 4: ShowTransparencyToolbar(); break;
|
||||
case 0: ShowGameOptions(); return;
|
||||
case 1: ShowGameDifficulty(); return;
|
||||
case 2: ShowPatchesSelection(); return;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user