mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Use RideId::GetNull and RideId::IsNull over constant
This commit is contained in:
@@ -97,7 +97,7 @@ RideId TileElement::GetRideIndex() const
|
||||
case TileElementType::Path:
|
||||
return AsPath()->GetRideIndex();
|
||||
default:
|
||||
return RIDE_ID_NULL;
|
||||
return RideId::GetNull();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user