diff options
author | Adam Frisby | 2007-05-30 04:36:21 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-30 04:36:21 +0000 |
commit | 488a325ab63ae2670b1595b77bd3f8247b689e56 (patch) | |
tree | 8beb2a001e8a074ec039fd152df6ca84f5c0b794 /OpenSim | |
parent | * World map! Yay! (diff) | |
download | opensim-SC_OLD-488a325ab63ae2670b1595b77bd3f8247b689e56.zip opensim-SC_OLD-488a325ab63ae2670b1595b77bd3f8247b689e56.tar.gz opensim-SC_OLD-488a325ab63ae2670b1595b77bd3f8247b689e56.tar.bz2 opensim-SC_OLD-488a325ab63ae2670b1595b77bd3f8247b689e56.tar.xz |
* Switched from ASCII encoding to llRetardedEncoding.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs b/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs index b4192cc..7bfc0ce 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs | |||
@@ -153,7 +153,7 @@ namespace OpenSim | |||
153 | { | 153 | { |
154 | Hashtable mp = (Hashtable)simMapProfiles[iii]; | 154 | Hashtable mp = (Hashtable)simMapProfiles[iii]; |
155 | mbReply.Data[iii] = new MapBlockReplyPacket.DataBlock(); | 155 | mbReply.Data[iii] = new MapBlockReplyPacket.DataBlock(); |
156 | mbReply.Data[iii].Name = System.Text.Encoding.ASCII.GetBytes((string)mp["name"]); | 156 | mbReply.Data[iii].Name = libsecondlife.Helpers.StringToField((string)mp["name"]); |
157 | mbReply.Data[iii].Access = System.Convert.ToByte(mp["access"]); | 157 | mbReply.Data[iii].Access = System.Convert.ToByte(mp["access"]); |
158 | mbReply.Data[iii].Agents = System.Convert.ToByte(mp["agents"]); | 158 | mbReply.Data[iii].Agents = System.Convert.ToByte(mp["agents"]); |
159 | mbReply.Data[iii].MapImageID = new LLUUID((string)mp["map-image-id"]); | 159 | mbReply.Data[iii].MapImageID = new LLUUID((string)mp["map-image-id"]); |