1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

Fix vertical sprite count math

This commit is contained in:
spacek531
2022-04-06 06:36:39 -07:00
committed by GitHub
parent 765bc59acd
commit 435c38b528

View File

@@ -243,7 +243,7 @@ void RideObject::Load()
if (vehicleEntry->sprite_flags & VEHICLE_SPRITE_FLAG_VERTICAL_SLOPES)
{
vehicleEntry->vertical_slope_image_id = image_index;
b = vehicleEntry->base_num_frames * ((3 * numRotationFrames) + (5 * NumOrthogonalDirections));
b = vehicleEntry->base_num_frames * ((2 * numRotationFrames) + (13 * NumOrthogonalDirections));
image_index += b;
}