mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Fix narrow station base drawing with incorrect rotation
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
- Fix: [#23108] Missing pieces on Hypercoaster and Hyper-Twister, even with the ‘all drawable track pieces’ cheat enabled.
|
||||
- Fix: [#24013] Failure to load a scenario preview image (minimap) could lead to an uncaught exception error message.
|
||||
- Fix: [#24142] [Plugin] Track origin is miscalculated on downward slopes.
|
||||
- Fix: [#24220] Narrow station platforms have missing sides on certain rotations.
|
||||
|
||||
0.4.21 (2025-04-05)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -741,7 +741,7 @@ bool TrackPaintUtilDrawNarrowStationPlatform(
|
||||
if (direction & 1)
|
||||
{
|
||||
PaintAddImageAsParent(
|
||||
session, colour.WithIndex(kStationBaseTypeSpriteIndexes[EnumValue(baseType)][0]), { 0, 0, height + baseOffsetZ },
|
||||
session, colour.WithIndex(kStationBaseTypeSpriteIndexes[EnumValue(baseType)][1]), { 0, 0, height + baseOffsetZ },
|
||||
{ { 0, 2, height }, { 32, 28, 1 } });
|
||||
|
||||
bool hasFence = TrackPaintUtilHasFence(EDGE_NE, position, trackElement, ride, session.CurrentRotation);
|
||||
|
||||
Reference in New Issue
Block a user