1
0
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:
Michael Steenbeek
2025-03-09 00:26:25 +01:00
committed by GitHub
parent fd148356c8
commit 05b64985f4
120 changed files with 2670 additions and 2677 deletions

View File

@@ -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;