mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
Refactor map size to allow for rectangle maps
This commit is contained in:
@@ -891,8 +891,8 @@ namespace OpenRCT2
|
||||
auto found = os.ReadWriteChunk(
|
||||
ParkFileChunkType::TILES,
|
||||
[pathToSurfaceMap, pathToQueueSurfaceMap, pathToRailingsMap](OrcaStream::ChunkStream& cs) {
|
||||
cs.ReadWrite(gMapSize); // x
|
||||
cs.Write(gMapSize); // y
|
||||
cs.ReadWrite(gMapSize.x);
|
||||
cs.ReadWrite(gMapSize.y);
|
||||
|
||||
if (cs.GetMode() == OrcaStream::Mode::READING)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user