1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 02:05:13 +01:00

Use bool for isApplying

This commit is contained in:
Ted John
2019-05-28 22:05:15 +01:00
parent 63b1649666
commit ca32357dad
3 changed files with 9 additions and 9 deletions

View File

@@ -5407,7 +5407,7 @@ static TileElement* loc_6B4F6B(ride_id_t rideIndex, int32_t x, int32_t y)
return nullptr;
}
int32_t ride_is_valid_for_test(Ride* ride, int32_t status, int32_t isApplying)
int32_t ride_is_valid_for_test(Ride* ride, int32_t status, bool isApplying)
{
int32_t stationIndex;
CoordsXYE trackElement, problematicTrackElement = {};
@@ -5546,7 +5546,7 @@ int32_t ride_is_valid_for_test(Ride* ride, int32_t status, int32_t isApplying)
*
* rct2: 0x006B4EEA
*/
int32_t ride_is_valid_for_open(Ride* ride, int32_t goingToBeOpen, int32_t isApplying)
int32_t ride_is_valid_for_open(Ride* ride, int32_t goingToBeOpen, bool isApplying)
{
int32_t stationIndex;
CoordsXYE trackElement, problematicTrackElement = {};