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

Fix #24143: Mine Train Coaster track isn't shown in station

This commit is contained in:
mix
2025-04-04 08:04:46 +01:00
committed by GitHub
parent 69016f546e
commit 2100195467

View File

@@ -143,13 +143,13 @@ static void MineTrainRCTrackStation(
bool isClosed = trackElement.IsBrakeClosed();
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(kMineTrainBlockBrakeImages[direction][isClosed]),
{ 0, 0, height }, { { 0, 6, height }, { 32, 20, 1 } });
{ 0, 0, height }, { { 0, 6, height + 1 }, { 32, 20, 1 } });
}
else
{
PaintAddImageAsParentRotated(
session, direction, session.TrackColours.WithIndex(imageIds[direction]), { 0, 0, height },
{ { 0, 6, height }, { 32, 20, 1 } });
{ { 0, 6, height + 1 }, { 32, 20, 1 } });
}
if (TrackPaintUtilDrawStation(session, ride, direction, height, trackElement, StationBaseType::b, -2))
{