diff options
author | Adam Frisby | 2007-07-15 18:10:49 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-15 18:10:49 +0000 |
commit | 9fdd4946c3a52d5cc95d57e9f05ddaca0a3a407f (patch) | |
tree | 4fba2494713732de1e7113e691ede2827fa318e6 /OpenSim/Region/ClientStack | |
parent | Removed the reference to ClientManager from scene, as scene really shouldn't ... (diff) | |
download | opensim-SC_OLD-9fdd4946c3a52d5cc95d57e9f05ddaca0a3a407f.zip opensim-SC_OLD-9fdd4946c3a52d5cc95d57e9f05ddaca0a3a407f.tar.gz opensim-SC_OLD-9fdd4946c3a52d5cc95d57e9f05ddaca0a3a407f.tar.bz2 opensim-SC_OLD-9fdd4946c3a52d5cc95d57e9f05ddaca0a3a407f.tar.xz |
* Fixed an issue where world map blocks were not transmitted correctly.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index b368ab7..5458795 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -396,8 +396,6 @@ namespace OpenSim.Region.ClientStack | |||
396 | 396 | ||
397 | public void SendMapBlock(List<MapBlockData> mapBlocks) | 397 | public void SendMapBlock(List<MapBlockData> mapBlocks) |
398 | { | 398 | { |
399 | Encoding _enc = Encoding.ASCII; | ||
400 | |||
401 | MapBlockReplyPacket mapReply = new MapBlockReplyPacket(); | 399 | MapBlockReplyPacket mapReply = new MapBlockReplyPacket(); |
402 | mapReply.AgentData.AgentID = this.AgentID; | 400 | mapReply.AgentData.AgentID = this.AgentID; |
403 | mapReply.Data = new MapBlockReplyPacket.DataBlock[mapBlocks.Count]; | 401 | mapReply.Data = new MapBlockReplyPacket.DataBlock[mapBlocks.Count]; |
@@ -410,7 +408,7 @@ namespace OpenSim.Region.ClientStack | |||
410 | mapReply.Data[i].X = mapBlocks[i].X; | 408 | mapReply.Data[i].X = mapBlocks[i].X; |
411 | mapReply.Data[i].Y = mapBlocks[i].Y; | 409 | mapReply.Data[i].Y = mapBlocks[i].Y; |
412 | mapReply.Data[i].WaterHeight = mapBlocks[i].WaterHeight; | 410 | mapReply.Data[i].WaterHeight = mapBlocks[i].WaterHeight; |
413 | mapReply.Data[i].Name = _enc.GetBytes(mapBlocks[i].Name); | 411 | mapReply.Data[i].Name = Helpers.StringToField(mapBlocks[i].Name); |
414 | mapReply.Data[i].RegionFlags = mapBlocks[i].RegionFlags; | 412 | mapReply.Data[i].RegionFlags = mapBlocks[i].RegionFlags; |
415 | mapReply.Data[i].Access = mapBlocks[i].Access; | 413 | mapReply.Data[i].Access = mapBlocks[i].Access; |
416 | mapReply.Data[i].Agents = mapBlocks[i].Agents; | 414 | mapReply.Data[i].Agents = mapBlocks[i].Agents; |