1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

Convert NULL -> nullptr in C++

This commit is contained in:
Michał Janiszewski
2017-08-15 10:07:44 +02:00
committed by Michał Janiszewski
parent 44c8c84b7c
commit d698ad1100
94 changed files with 3189 additions and 3189 deletions

View File

@@ -404,14 +404,14 @@ void RideObject::SetRepositoryItem(ObjectRepositoryItem * item) const
const ride_group * rideGroup = get_ride_group(rideTypeIdx, (rct_ride_entry *)&_legacyType);
// If the ride group is NULL, the track type does not have ride groups.
if (rideGroup != NULL)
// If the ride group is nullptr, the track type does not have ride groups.
if (rideGroup != nullptr)
{
for (uint8 i = rideGroupIndex + 1; i < MAX_RIDE_GROUPS_PER_RIDE_TYPE; i++)
{
ride_group * irg = ride_group_find(rideTypeIdx, i);
if (irg != NULL)
if (irg != nullptr)
{
if (ride_groups_are_equal(irg, rideGroup))
{