1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Use paint function

This commit is contained in:
ζeh Matt
2021-11-27 16:08:25 +02:00
parent e3eff3cddf
commit 1395ace71b

View File

@@ -1274,6 +1274,7 @@ void vehicle_visual_splash_boats_or_water_coaster(
imageDirection = ((session->CurrentRotation * 8) + vehicle->sprite_direction) & 0x1F;
session->SpritePosition.x = vehicle->x;
session->SpritePosition.y = vehicle->y;
PaintEntity(session, vehicle, imageDirection);
vehicle->Paint(session, imageDirection);
}
#endif