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
commit 341f85ef5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;