diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/TerrainCompressor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs index bdb748a..b41691f 100644 --- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs +++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs | |||
@@ -192,7 +192,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
192 | 192 | ||
193 | int wbits; | 193 | int wbits; |
194 | int[] patch = CompressPatch(patchData, header, 10, out wbits); | 194 | int[] patch = CompressPatch(patchData, header, 10, out wbits); |
195 | wbits = EncodePatchHeader(output, header, patch, (uint)pRegionSizeX, (uint)pRegionSizeY, wbits); | 195 | wbits = EncodePatchHeader(output, header, patch, Constants.RegionSize, Constants.RegionSize, wbits); |
196 | EncodePatch(output, patch, 0, wbits); | 196 | EncodePatch(output, patch, 0, wbits); |
197 | } | 197 | } |
198 | 198 | ||