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:
committed by
Harry Hopkinson
parent
ef9840f29b
commit
56df39dcb4
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user