1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Merge pull request #10419 from tupaschoal/fix-10417

Fix #10417: Ride preview incorrectly centered
This commit is contained in:
ζeh Matt
2019-12-22 06:25:23 +01:00
committed by GitHub

View File

@@ -2367,7 +2367,7 @@ static void window_ride_construction_draw_track_piece(
while ((trackBlock + 1)->index != 0xFF)
trackBlock++;
CoordsXYZ mapCoords{ trackBlock->x, trackBlock->z, trackBlock->y };
CoordsXYZ mapCoords{ trackBlock->x, trackBlock->y, trackBlock->z };
if (trackBlock->var_09 & 2)
{
mapCoords.x = 0;