aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/TerrainCompressor.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/TerrainCompressor.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
index ced62e2..bdb748a 100644
--- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
+++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
@@ -119,9 +119,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
119 byte landPacketType = (byte)TerrainPatch.LayerType.Land; 119 byte landPacketType = (byte)TerrainPatch.LayerType.Land;
120 if (terrData.SizeX > Constants.RegionSize || terrData.SizeY > Constants.RegionSize) 120 if (terrData.SizeX > Constants.RegionSize || terrData.SizeY > Constants.RegionSize)
121 { 121 {
122 // libOMV does not have a packet type defined for the extended parcel format. 122 landPacketType = (byte)TerrainPatch.LayerType.LandExtended;
123 // We just happen to know the extended parcel format code is one more than the usual code.
124 landPacketType++;
125 } 123 }
126 124
127 return CreateLandPacket(terrData, xPieces, yPieces, landPacketType); 125 return CreateLandPacket(terrData, xPieces, yPieces, landPacketType);