From b63b99faeff0cc8bba862a240498e435c4a35e46 Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 4 Oct 2006 00:27:31 +0000 Subject: (svn r6633) -Fix r6631: climate selector now shows the current selected climate (and only this one) --- intro_gui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'intro_gui.c') 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; -- cgit v1.2.3-54-g00ecf