mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +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
@@ -679,8 +679,7 @@ static int32_t ConsoleCommandGet(InteractiveConsole& console, const arguments_t&
|
||||
else if (argv[0] == "climate")
|
||||
{
|
||||
console.WriteFormatLine(
|
||||
"climate %s (%d)", ClimateNames[static_cast<uint8_t>(gameState.Climate)],
|
||||
static_cast<uint8_t>(gameState.Climate));
|
||||
"climate %s (%d)", ClimateNames[EnumValue(gameState.Climate)], EnumValue(gameState.Climate));
|
||||
}
|
||||
else if (argv[0] == "game_speed")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user