diff options
author | maedhros <maedhros@openttd.org> | 2007-04-16 10:30:31 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-04-16 10:30:31 +0000 |
commit | 720842ba910a9ab30d57352fffd2544a45f4ec21 (patch) | |
tree | e1b80f483e28a3a81d8b447add46396b433d5e30 | |
parent | 229eb8cba53669c9b9ed42ecb20cbaa4a2f482dc (diff) | |
download | openttd-720842ba910a9ab30d57352fffd2544a45f4ec21.tar.xz |
(svn r9647) -Fix (r6631) [FS#733]: Select "Custom" in the difficulty settings gui when changing a setting. (Frostregen)
-rw-r--r-- | src/settings_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 1917f06a9..3fcbcef70 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -500,7 +500,9 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e) // save value in temporary variable ((int*)&_opt_mod_temp.diff)[btn] = val; + RaiseWindowWidget(w, _opt_mod_temp.diff_level + 3); SetDifficultyLevel(3, &_opt_mod_temp); // set difficulty level to custom + LowerWindowWidget(w, _opt_mod_temp.diff_level + 3); SetWindowDirty(w); } break; case 3: case 4: case 5: case 6: /* Easy / Medium / Hard / Custom */ |