mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 01:35:06 +01:00
Update Ride struct to new codestyle
This commit is contained in:
committed by
GitHub
parent
fd148356c8
commit
05b64985f4
@@ -120,7 +120,7 @@ static bool MapAnimationInvalidateRideEntrance(const CoordsXYZ& loc)
|
||||
auto ride = GetRide(tileElement->AsEntrance()->GetRideIndex());
|
||||
if (ride != nullptr)
|
||||
{
|
||||
auto stationObj = ride->GetStationObject();
|
||||
auto stationObj = ride->getStationObject();
|
||||
if (stationObj != nullptr)
|
||||
{
|
||||
int32_t height = loc.z + stationObj->Height + 8;
|
||||
|
||||
Reference in New Issue
Block a user