mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Use paint function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user