settings_gui.c
branch0.5
changeset 5467 24a2a4d58223
parent 5466 85b7662d0342
child 5481 acf12c0e6f31
equal deleted inserted replaced
5466:85b7662d0342 5467:24a2a4d58223
   389 		SetWindowWidgetDisabledState(w,  4, _game_mode == GM_NORMAL);
   389 		SetWindowWidgetDisabledState(w,  4, _game_mode == GM_NORMAL);
   390 		SetWindowWidgetDisabledState(w,  5, _game_mode == GM_NORMAL);
   390 		SetWindowWidgetDisabledState(w,  5, _game_mode == GM_NORMAL);
   391 		SetWindowWidgetDisabledState(w,  6, _game_mode == GM_NORMAL);
   391 		SetWindowWidgetDisabledState(w,  6, _game_mode == GM_NORMAL);
   392 		SetWindowWidgetDisabledState(w,  7, _game_mode == GM_EDITOR || _networking); // highscore chart in multiplayer
   392 		SetWindowWidgetDisabledState(w,  7, _game_mode == GM_EDITOR || _networking); // highscore chart in multiplayer
   393 		SetWindowWidgetDisabledState(w, 10, _networking && !_network_server); // Save-button in multiplayer (and if client)
   393 		SetWindowWidgetDisabledState(w, 10, _networking && !_network_server); // Save-button in multiplayer (and if client)
       
   394 		LowerWindowWidget(w, _opt_mod_temp.diff_level + 3);
   394 
   395 
   395 		break;
   396 		break;
   396 	case WE_PAINT: {
   397 	case WE_PAINT: {
   397 		uint32 click_a, click_b, disabled;
   398 		uint32 click_a, click_b, disabled;
   398 		int i;
   399 		int i;