diff options
author | glx <glx@openttd.org> | 2006-10-04 00:27:31 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-10-04 00:27:31 +0000 |
commit | b63b99faeff0cc8bba862a240498e435c4a35e46 (patch) | |
tree | 2ccab3645e1a47887c3712f866915230f7b71aa8 /intro_gui.c | |
parent | 96a8a23fb505e4b505d38de9f25ace1e09f5993a (diff) | |
download | openttd-b63b99faeff0cc8bba862a240498e435c4a35e46.tar.xz |
(svn r6633) -Fix r6631: climate selector now shows the current selected climate (and only this one)
Diffstat (limited to 'intro_gui.c')
-rw-r--r-- | intro_gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intro_gui.c b/intro_gui.c index 84851a365..056754a4c 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -50,7 +50,10 @@ static void SelectGameWndProc(Window *w, WindowEvent *e) case WE_CREATE: LowerWindowWidget(w, _opt_newgame.landscape + 8); break; case WE_PAINT: - LowerWindowWidget(w, _opt_newgame.landscape + 8); // All buttons get automagically unclicked + SetWidgetLoweredState(w, 8, _opt_newgame.landscape == LT_NORMAL); + SetWidgetLoweredState(w, 9, _opt_newgame.landscape == LT_HILLY); + SetWidgetLoweredState(w, 10, _opt_newgame.landscape == LT_DESERT); + SetWidgetLoweredState(w, 11, _opt_newgame.landscape == LT_CANDY); SetDParam(0, STR_6801_EASY + _opt_newgame.diff_level); DrawWindowWidgets(w); break; |