1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Replace Macros and Notation in Cheats.h, common.h and Context.h. (#21437)

This commit is contained in:
Harry Hopkinson
2024-02-23 22:30:35 +00:00
committed by GitHub
parent d11a82aa4f
commit 7797db10c8
49 changed files with 244 additions and 244 deletions

View File

@@ -209,7 +209,7 @@ static int32_t ConsoleCommandRides(InteractiveConsole& console, const arguments_
else
{
auto res = SetOperatingSetting(RideId::FromUnderlying(ride_index), RideSetSetting::RideType, type);
if (res == MONEY64_UNDEFINED)
if (res == kMoney64Undefined)
{
if (!gCheatsAllowArbitraryRideTypeChanges)
{
@@ -1452,7 +1452,7 @@ static int32_t ConsoleCommandForceDate([[maybe_unused]] InteractiveConsole& cons
// All cases involve providing a year, so grab that first
year = atoi(argv[0].c_str());
if (year < 1 || year > MAX_YEAR)
if (year < 1 || year > kMaxYear)
{
return -1;
}