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

This commit is contained in:
Harry Hopkinson authored and GitHub committed 2024-02-23 19:30:35 -03:00
1 parent d11a82aa4f
commit 7797db10c8
49 files changed
+244 -244

No files matched your search

@@ -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;
}