diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 949aa27..3dbce5b 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1139,17 +1139,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1139 | /// <param name="map">heightmap</param> | 1139 | /// <param name="map">heightmap</param> |
1140 | /// <param name="px">X coordinate for patches 0..12</param> | 1140 | /// <param name="px">X coordinate for patches 0..12</param> |
1141 | /// <param name="py">Y coordinate for patches 0..15</param> | 1141 | /// <param name="py">Y coordinate for patches 0..15</param> |
1142 | private void SendLayerPacket(float[] map, int y, int x) | 1142 | // private void SendLayerPacket(float[] map, int y, int x) |
1143 | { | 1143 | // { |
1144 | int[] patches = new int[4]; | 1144 | // int[] patches = new int[4]; |
1145 | patches[0] = x + 0 + y * 16; | 1145 | // patches[0] = x + 0 + y * 16; |
1146 | patches[1] = x + 1 + y * 16; | 1146 | // patches[1] = x + 1 + y * 16; |
1147 | patches[2] = x + 2 + y * 16; | 1147 | // patches[2] = x + 2 + y * 16; |
1148 | patches[3] = x + 3 + y * 16; | 1148 | // patches[3] = x + 3 + y * 16; |
1149 | 1149 | ||
1150 | Packet layerpack = LLClientView.TerrainManager.CreateLandPacket(map, patches); | 1150 | // Packet layerpack = LLClientView.TerrainManager.CreateLandPacket(map, patches); |
1151 | OutPacket(layerpack, ThrottleOutPacketType.Land); | 1151 | // OutPacket(layerpack, ThrottleOutPacketType.Land); |
1152 | } | 1152 | // } |
1153 | 1153 | ||
1154 | /// <summary> | 1154 | /// <summary> |
1155 | /// Sends a specified patch to a client | 1155 | /// Sends a specified patch to a client |