mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Implement omit of ghost tile elements when saving
This commit is contained in:
@@ -794,8 +794,7 @@ namespace OpenRCT2
|
||||
}
|
||||
else
|
||||
{
|
||||
ReorganiseTileElements();
|
||||
const auto& tileElements = GetTileElements();
|
||||
auto tileElements = GetReorganisedTileElementsWithoutGhosts();
|
||||
cs.Write(static_cast<uint32_t>(tileElements.size()));
|
||||
cs.Write(tileElements.data(), tileElements.size() * sizeof(TileElement));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user