1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Change all invalidate_sprite_2(Vehicle*) to Vehicle->Invalidate() (#11935)

This commit is contained in:
hdpoliveira
2020-06-11 16:42:11 -03:00
committed by GitHub
parent 2743629142
commit 55bb2eaec9
4 changed files with 13 additions and 13 deletions

View File

@@ -393,7 +393,7 @@ int32_t Vehicle::CableLiftUpdateTrackMotion()
unk_F64E20.x = vehicle->x;
unk_F64E20.y = vehicle->y;
unk_F64E20.z = vehicle->z;
invalidate_sprite_2(vehicle);
vehicle->Invalidate();
while (true)
{
@@ -431,7 +431,7 @@ int32_t Vehicle::CableLiftUpdateTrackMotion()
}
vehicle->MoveTo(unk_F64E20);
invalidate_sprite_2(vehicle);
vehicle->Invalidate();
}
vehicle->acceleration /= _vehicleUnkF64E10;
if (_vehicleVelocityF64E08 >= 0)