aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/EstateManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-03-21 02:36:34 +0000
committerAdam Frisby2008-03-21 02:36:34 +0000
commit803670e6eaaeafa1b7f90b6a7a9f461bd459634a (patch)
tree47087d5bb58f7704f13624fa1de999f39c8805a5 /OpenSim/Region/Environment/EstateManager.cs
parent* Removed a bad encoder. (diff)
downloadopensim-SC-803670e6eaaeafa1b7f90b6a7a9f461bd459634a.zip
opensim-SC-803670e6eaaeafa1b7f90b6a7a9f461bd459634a.tar.gz
opensim-SC-803670e6eaaeafa1b7f90b6a7a9f461bd459634a.tar.bz2
opensim-SC-803670e6eaaeafa1b7f90b6a7a9f461bd459634a.tar.xz
* Removed more encoding faults.
Diffstat (limited to 'OpenSim/Region/Environment/EstateManager.cs')
-rw-r--r--OpenSim/Region/Environment/EstateManager.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/EstateManager.cs b/OpenSim/Region/Environment/EstateManager.cs
index 9c53f38..f097b61 100644
--- a/OpenSim/Region/Environment/EstateManager.cs
+++ b/OpenSim/Region/Environment/EstateManager.cs
@@ -634,9 +634,6 @@ namespace OpenSim.Region.Environment
634 634
635 public void sendRegionInfoPacket(IClientAPI remote_client) 635 public void sendRegionInfoPacket(IClientAPI remote_client)
636 { 636 {
637 // ENCODING FAULT
638 Encoding _enc = Encoding.UTF8;
639
640 AgentCircuitData circuitData = remote_client.RequestClientInfo(); 637 AgentCircuitData circuitData = remote_client.RequestClientInfo();
641 638
642 RegionInfoPacket regionInfoPacket = new RegionInfoPacket(); 639 RegionInfoPacket regionInfoPacket = new RegionInfoPacket();
@@ -652,7 +649,7 @@ namespace OpenSim.Region.Environment
652 regionInfoPacket.RegionInfo.RedirectGridY = m_regInfo.EstateSettings.redirectGridY; 649 regionInfoPacket.RegionInfo.RedirectGridY = m_regInfo.EstateSettings.redirectGridY;
653 regionInfoPacket.RegionInfo.RegionFlags = (uint) m_regInfo.EstateSettings.regionFlags; 650 regionInfoPacket.RegionInfo.RegionFlags = (uint) m_regInfo.EstateSettings.regionFlags;
654 regionInfoPacket.RegionInfo.SimAccess = (byte) m_regInfo.EstateSettings.simAccess; 651 regionInfoPacket.RegionInfo.SimAccess = (byte) m_regInfo.EstateSettings.simAccess;
655 regionInfoPacket.RegionInfo.SimName = _enc.GetBytes(m_regInfo.RegionName); 652 regionInfoPacket.RegionInfo.SimName = Helpers.StringToField(m_regInfo.RegionName);
656 regionInfoPacket.RegionInfo.SunHour = m_regInfo.EstateSettings.sunHour; 653 regionInfoPacket.RegionInfo.SunHour = m_regInfo.EstateSettings.sunHour;
657 regionInfoPacket.RegionInfo.TerrainLowerLimit = m_regInfo.EstateSettings.terrainLowerLimit; 654 regionInfoPacket.RegionInfo.TerrainLowerLimit = m_regInfo.EstateSettings.terrainLowerLimit;
658 regionInfoPacket.RegionInfo.TerrainRaiseLimit = m_regInfo.EstateSettings.terrainRaiseLimit; 655 regionInfoPacket.RegionInfo.TerrainRaiseLimit = m_regInfo.EstateSettings.terrainRaiseLimit;