1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Fix #21042: SpriteData intialised incorrectly (#21125)

This commit is contained in:
mrmbernardi
2023-12-29 23:21:15 +01:00
committed by GitHub
parent d233d0fc3d
commit 970504f2ad
2 changed files with 3 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
- Fix: [#20807] Tertiary colour not copied with small scenery.
- Fix: [#20964] Crash when player connects to server with a group assigned that no longer exists.
- Fix: [#20995] TTF fonts dont support hinting, outlines, or insets with OpenGL.
- Fix: [#21042] Peeps dont render properly in S4 parks.
0.4.6 (2023-09-03)
------------------------------------------------------------------------

View File

@@ -1275,8 +1275,8 @@ namespace RCT1
const SpriteBounds* spriteBounds = &GetSpriteBounds(dst->SpriteType, dst->ActionSpriteType);
dst->SpriteData.Width = spriteBounds->sprite_width;
dst->SpriteData.HeightMax = spriteBounds->sprite_height_negative;
dst->SpriteData.HeightMin = spriteBounds->sprite_height_positive;
dst->SpriteData.HeightMin = spriteBounds->sprite_height_negative;
dst->SpriteData.HeightMax = spriteBounds->sprite_height_positive;
dst->MoveTo({ src->x, src->y, src->z });