diff options
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs index ed3355f..0d4e42e 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | |||
@@ -350,13 +350,21 @@ namespace OpenSim | |||
350 | } | 350 | } |
351 | break; | 351 | break; |
352 | case PacketType.MapLayerRequest: | 352 | case PacketType.MapLayerRequest: |
353 | // This be busted. | ||
354 | MapLayerRequestPacket MapRequest = (MapLayerRequestPacket)Pack; | ||
353 | this.RequestMapLayer(); | 355 | this.RequestMapLayer(); |
356 | this.RequestMapBlocks((int)this.m_regionData.RegionLocX - 50, (int)this.m_regionData.RegionLocY - 50, (int)this.m_regionData.RegionLocX + 50, (int)this.m_regionData.RegionLocY + 50); | ||
354 | break; | 357 | break; |
358 | |||
355 | case PacketType.MapBlockRequest: | 359 | case PacketType.MapBlockRequest: |
356 | MapBlockRequestPacket MapRequest = (MapBlockRequestPacket)Pack; | 360 | MapBlockRequestPacket MapBRequest = (MapBlockRequestPacket)Pack; |
361 | this.RequestMapBlocks(MapBRequest.PositionData.MinX, MapBRequest.PositionData.MinY, MapBRequest.PositionData.MaxX, MapBRequest.PositionData.MaxY); | ||
362 | break; | ||
357 | 363 | ||
358 | this.RequestMapBlocks(MapRequest.PositionData.MinX, MapRequest.PositionData.MinY, MapRequest.PositionData.MaxX, MapRequest.PositionData.MaxY); | 364 | case PacketType.MapNameRequest: |
365 | // TODO. | ||
359 | break; | 366 | break; |
367 | |||
360 | case PacketType.TeleportLandmarkRequest: | 368 | case PacketType.TeleportLandmarkRequest: |
361 | TeleportLandmarkRequestPacket tpReq = (TeleportLandmarkRequestPacket)Pack; | 369 | TeleportLandmarkRequestPacket tpReq = (TeleportLandmarkRequestPacket)Pack; |
362 | 370 | ||