summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-11 14:56:35 +0000
committerrubidium <rubidium@openttd.org>2007-03-11 14:56:35 +0000
commit40ebea6a6a98a80f6734ba0ed353d48699ce001a (patch)
treec6a5d3b0fa659ea1c7cf13b67e5a5f36fe335870 /src
parent8ce88873c765f8bdea9ea13c91cd2310cbe5675b (diff)
downloadopenttd-40ebea6a6a98a80f6734ba0ed353d48699ce001a.tar.xz
(svn r9117) -Fix: the (current) difficulty level button was not selected when opening the difficulty window.
Diffstat (limited to 'src')
-rw-r--r--src/settings_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 93b0cf78d..b8759c441 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -392,6 +392,7 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e)
SetWindowWidgetDisabledState(w, 6, _game_mode == GM_NORMAL);
SetWindowWidgetDisabledState(w, 7, _game_mode == GM_EDITOR || _networking); // highscore chart in multiplayer
SetWindowWidgetDisabledState(w, 10, _networking && !_network_server); // Save-button in multiplayer (and if client)
+ LowerWindowWidget(w, _opt_mod_temp.diff_level + 3);
break;
case WE_PAINT: {