1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 17:09:10 +00:00

Codefix: Scenario climate selection buttons shouldn't include size of (unset) integer. (#13161)

This commit is contained in:
2024-12-09 23:42:14 +00:00
committed by GitHub
parent 95d22bac89
commit f8e9ee6fec

View File

@@ -1125,7 +1125,7 @@ struct CreateScenarioWindow : public Window
case WID_CS_TROPICAL: case WID_CS_TOYLAND:
size.width += WidgetDimensions::scaled.fullbevel.Horizontal();
size.height += WidgetDimensions::scaled.fullbevel.Vertical();
break;
return;
case WID_CS_START_DATE_TEXT:
SetDParam(0, TimerGameCalendar::ConvertYMDToDate(CalendarTime::MAX_YEAR, 0, 1));