* Switched from ASCII encoding to llRetardedEncoding.

zircon^2
Adam Frisby 2007-05-30 04:36:21 +00:00
parent 84dc744faa
commit 488a325ab6
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ namespace OpenSim
{ {
Hashtable mp = (Hashtable)simMapProfiles[iii]; Hashtable mp = (Hashtable)simMapProfiles[iii];
mbReply.Data[iii] = new MapBlockReplyPacket.DataBlock(); mbReply.Data[iii] = new MapBlockReplyPacket.DataBlock();
mbReply.Data[iii].Name = System.Text.Encoding.ASCII.GetBytes((string)mp["name"]); mbReply.Data[iii].Name = libsecondlife.Helpers.StringToField((string)mp["name"]);
mbReply.Data[iii].Access = System.Convert.ToByte(mp["access"]); mbReply.Data[iii].Access = System.Convert.ToByte(mp["access"]);
mbReply.Data[iii].Agents = System.Convert.ToByte(mp["agents"]); mbReply.Data[iii].Agents = System.Convert.ToByte(mp["agents"]);
mbReply.Data[iii].MapImageID = new LLUUID((string)mp["map-image-id"]); mbReply.Data[iii].MapImageID = new LLUUID((string)mp["map-image-id"]);