mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-21 23:03:04 +01:00
Fix #24143: Mine Train Coaster track isn't shown in station
This commit is contained in:
@@ -143,13 +143,13 @@ static void MineTrainRCTrackStation(
|
|||||||
bool isClosed = trackElement.IsBrakeClosed();
|
bool isClosed = trackElement.IsBrakeClosed();
|
||||||
PaintAddImageAsParentRotated(
|
PaintAddImageAsParentRotated(
|
||||||
session, direction, session.TrackColours.WithIndex(kMineTrainBlockBrakeImages[direction][isClosed]),
|
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
|
else
|
||||||
{
|
{
|
||||||
PaintAddImageAsParentRotated(
|
PaintAddImageAsParentRotated(
|
||||||
session, direction, session.TrackColours.WithIndex(imageIds[direction]), { 0, 0, height },
|
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))
|
if (TrackPaintUtilDrawStation(session, ride, direction, height, trackElement, StationBaseType::b, -2))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user