1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Replace Chose with Choose for grammatical purposes (#18440)

The action is being performed in the present tense so it makes far more sense to use Choose than Chose in this function
This commit is contained in:
73
2022-10-26 01:34:35 -04:00
committed by GitHub
parent a6c077691f
commit 38d5793b0b
2 changed files with 20 additions and 20 deletions

View File

@@ -1933,7 +1933,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
{
if (PeepFlags & PEEP_FLAGS_LEAVING_PARK)
{
ChoseNotToGoOnRide(ride, peepAtRide, false);
ChooseNotToGoOnRide(ride, peepAtRide, false);
return false;
}
}
@@ -1994,7 +1994,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
{
if (PreviousRide == ride->id)
{
ChoseNotToGoOnRide(ride, peepAtRide, false);
ChooseNotToGoOnRide(ride, peepAtRide, false);
return false;
}
@@ -2014,7 +2014,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
InsertNewThought(PeepThoughtType::CantAffordRide, ride->id);
}
}
ChoseNotToGoOnRide(ride, peepAtRide, true);
ChooseNotToGoOnRide(ride, peepAtRide, true);
return false;
}
}
@@ -2031,7 +2031,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
}
ride->UpdatePopularity(0);
}
ChoseNotToGoOnRide(ride, peepAtRide, true);
ChooseNotToGoOnRide(ride, peepAtRide, true);
return false;
}
@@ -2059,7 +2059,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
}
ride->UpdatePopularity(0);
}
ChoseNotToGoOnRide(ride, peepAtRide, true);
ChooseNotToGoOnRide(ride, peepAtRide, true);
return false;
}
@@ -2081,7 +2081,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
}
ride->UpdatePopularity(0);
}
ChoseNotToGoOnRide(ride, peepAtRide, true);
ChooseNotToGoOnRide(ride, peepAtRide, true);
return false;
}
if (ride->intensity > maxIntensity)
@@ -2104,14 +2104,14 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
}
ride->UpdatePopularity(0);
}
ChoseNotToGoOnRide(ride, peepAtRide, true);
ChooseNotToGoOnRide(ride, peepAtRide, true);
return false;
}
// Very nauseous peeps will only go on very gentle rides.
if (ride->nausea >= FIXED_2DP(1, 40) && Nausea > 160)
{
ChoseNotToGoOnRide(ride, peepAtRide, false);
ChooseNotToGoOnRide(ride, peepAtRide, false);
return false;
}
}
@@ -2123,7 +2123,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
{
if ((scenario_rand() & 0xFFFF) > 0x1999U)
{
ChoseNotToGoOnRide(ride, peepAtRide, false);
ChooseNotToGoOnRide(ride, peepAtRide, false);
return false;
}
@@ -2132,7 +2132,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
if (ride->max_positive_vertical_g > FIXED_2DP(5, 00) || ride->max_negative_vertical_g < FIXED_2DP(-4, 00)
|| ride->max_lateral_g > FIXED_2DP(4, 00))
{
ChoseNotToGoOnRide(ride, peepAtRide, false);
ChooseNotToGoOnRide(ride, peepAtRide, false);
return false;
}
}
@@ -2160,7 +2160,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
}
ride->UpdatePopularity(0);
}
ChoseNotToGoOnRide(ride, peepAtRide, true);
ChooseNotToGoOnRide(ride, peepAtRide, true);
return false;
}
@@ -2193,7 +2193,7 @@ bool Guest::ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, b
return true;
}
ChoseNotToGoOnRide(ride, peepAtRide, false);
ChooseNotToGoOnRide(ride, peepAtRide, false);
return false;
}
@@ -2202,7 +2202,7 @@ bool Guest::ShouldGoToShop(Ride* ride, bool peepAtShop)
// Peeps won't go to the same shop twice in a row.
if (ride->id == PreviousRide)
{
ChoseNotToGoOnRide(ride, peepAtShop, true);
ChooseNotToGoOnRide(ride, peepAtShop, true);
return false;
}
@@ -2211,7 +2211,7 @@ bool Guest::ShouldGoToShop(Ride* ride, bool peepAtShop)
{
if (Toilet < 70)
{
ChoseNotToGoOnRide(ride, peepAtShop, true);
ChooseNotToGoOnRide(ride, peepAtShop, true);
return false;
}
@@ -2228,7 +2228,7 @@ bool Guest::ShouldGoToShop(Ride* ride, bool peepAtShop)
}
ride->UpdatePopularity(0);
}
ChoseNotToGoOnRide(ride, peepAtShop, true);
ChooseNotToGoOnRide(ride, peepAtShop, true);
return false;
}
}
@@ -2237,7 +2237,7 @@ bool Guest::ShouldGoToShop(Ride* ride, bool peepAtShop)
{
if (Nausea < 128)
{
ChoseNotToGoOnRide(ride, peepAtShop, true);
ChooseNotToGoOnRide(ride, peepAtShop, true);
return false;
}
}
@@ -2257,7 +2257,7 @@ bool Guest::ShouldGoToShop(Ride* ride, bool peepAtShop)
InsertNewThought(PeepThoughtType::CantAffordRide, ride->id);
}
}
ChoseNotToGoOnRide(ride, peepAtShop, true);
ChooseNotToGoOnRide(ride, peepAtShop, true);
return false;
}
@@ -2361,7 +2361,7 @@ bool Guest::ShouldRideWhileRaining(const Ride& ride)
return false;
}
void Guest::ChoseNotToGoOnRide(Ride* ride, bool peepAtRide, bool updateLastRide)
void Guest::ChooseNotToGoOnRide(Ride* ride, bool peepAtRide, bool updateLastRide)
{
if (peepAtRide && updateLastRide)
{
@@ -2425,7 +2425,7 @@ static void peep_ride_is_too_intense(Guest* peep, Ride* ride, bool peepAtRide)
}
ride->UpdatePopularity(0);
}
peep->ChoseNotToGoOnRide(ride, peepAtRide, true);
peep->ChooseNotToGoOnRide(ride, peepAtRide, true);
}
/**

View File

@@ -334,7 +334,7 @@ public:
void StopPurchaseThought(ride_type_t rideType);
void TryGetUpFromSitting();
bool ShouldRideWhileRaining(const Ride& ride);
void ChoseNotToGoOnRide(Ride* ride, bool peepAtRide, bool updateLastRide);
void ChooseNotToGoOnRide(Ride* ride, bool peepAtRide, bool updateLastRide);
void PickRideToGoOn();
void ReadMap();
bool ShouldGoOnRide(Ride* ride, StationIndex entranceNum, bool atQueue, bool thinking);