diff options
Diffstat (limited to 'src/map.cc')
| -rw-r--r-- | src/map.cc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1569,6 +1569,10 @@ void PatchSector(int SectorX, int SectorY, int SectorZ, bool FullSector, } if(IN.Token == BYTES){ + if(OffsetX != -1 && OffsetY != -1 && !FieldPatched[OffsetX][OffsetY]){ + OUT.writeLn(); + } + uint8 *SectorOffset = IN.getBytesequence(); OffsetX = (int)SectorOffset[0]; OffsetY = (int)SectorOffset[1]; @@ -1634,6 +1638,10 @@ void PatchSector(int SectorX, int SectorY, int SectorZ, bool FullSector, IN.error("unknown map flag"); } } + + if(OffsetX != -1 && OffsetY != -1 && !FieldPatched[OffsetX][OffsetY]){ + OUT.writeLn(); + } } // NOTE(fusion): Step 4. |
