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

Fix multiple surface tiles created when importing SV4

This commit is contained in:
Ted John
2021-11-21 23:51:36 +00:00
parent 3ff2466251
commit 065cf80ae6

View File

@@ -1561,6 +1561,7 @@ namespace RCT1
auto dstElement = tileElements.data() + originalSize;
auto numAddedElements = ImportTileElement(dstElement, srcElement);
tileElements.resize(originalSize + numAddedElements);
tileAdded = true;
} while (!(srcElement++)->IsLastForTile());
}