1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

Fix #16890. Incorrect rotation for splash boats (#16949)

This commit is contained in:
Duncan
2022-04-09 04:32:17 +01:00
committed by GitHub
parent 5e82e9048b
commit 9c9b554813

View File

@@ -1276,7 +1276,7 @@ void vehicle_visual_splash_boats_or_water_coaster(
}
session.CurrentlyDrawnEntity = vehicleToPaint;
imageDirection = ((session.CurrentRotation * 8) + vehicle->sprite_direction) & 0x1F;
imageDirection = ((session.CurrentRotation * 8) + vehicleToPaint->sprite_direction) & 0x1F;
session.SpritePosition.x = vehicleToPaint->x;
session.SpritePosition.y = vehicleToPaint->y;
vehicleToPaint->Paint(session, imageDirection);