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