1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Fix #10751: Save mazes in their entirety

This commit is contained in:
quale
2020-08-05 17:17:49 +02:00
committed by Jonathan van Tuijl
parent 58240cf1ad
commit 9ef3eec47d

View File

@@ -361,7 +361,7 @@ rct_string_id TrackDesign::CreateTrackDesignMaze(const Ride& ride)
// x is defined here as we can start the search
// on tile start_x, start_y but then the next row
// must restart on 0
for (int32_t y = startLoc.y, x = startLoc.y; y < MAXIMUM_MAP_SIZE_BIG; y += COORDS_XY_STEP)
for (int32_t y = startLoc.y, x = startLoc.x; y < MAXIMUM_MAP_SIZE_BIG; y += COORDS_XY_STEP)
{
for (; x < MAXIMUM_MAP_SIZE_BIG; x += COORDS_XY_STEP)
{