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 e744202..fd65735 100644 --- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs +++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs | |||
@@ -191,7 +191,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
191 | for (int i = 0; i < x.Length; i++) | 191 | for (int i = 0; i < x.Length; i++) |
192 | { | 192 | { |
193 | CreatePatchFromTerrainData(bitpack, terrData, x[i], y[i]); | 193 | CreatePatchFromTerrainData(bitpack, terrData, x[i], y[i]); |
194 | if (bitpack.BytePos > 1000 && i != x.Length - 1) | 194 | if (bitpack.BytePos > 980 && i != x.Length - 1) |
195 | { | 195 | { |
196 | //finish this packet | 196 | //finish this packet |
197 | bitpack.PackBits(END_OF_PATCHES, 8); | 197 | bitpack.PackBits(END_OF_PATCHES, 8); |