1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

Replace uint8's with EnumValue

Replace uint8's with EnumValue

Replace uint8's with EnumValue

Revertl arge change

Revert large change

Format
This commit is contained in:
Harry-Hopkinson
2024-03-04 18:15:23 +00:00
committed by Harry Hopkinson
parent ef9840f29b
commit 56df39dcb4
18 changed files with 39 additions and 37 deletions

View File

@@ -1274,7 +1274,7 @@ private:
// Climate value
screenCoords = windowPos + ScreenCoordsXY{ climateWidget.left + 1, climateWidget.top };
auto ft = Formatter();
ft.Add<StringId>(ClimateNames[static_cast<uint8_t>(gameState.Climate)]);
ft.Add<StringId>(ClimateNames[EnumValue(gameState.Climate)]);
DrawTextBasic(dpi, screenCoords, STR_WINDOW_COLOUR_2_STRINGID, ft);
}