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
commit16a9f79a6a8a43e31786f812a02d7d04bc940ca4 (patch)
treec6a5d3b0fa659ea1c7cf13b67e5a5f36fe335870 /src
parent473f33f129d9abd9e34fcad331fafe70563a8a3e (diff)
downloadopenttd-16a9f79a6a8a43e31786f812a02d7d04bc940ca4.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: {