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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user