diff options
author | MW | 2007-06-09 11:13:02 +0000 |
---|---|---|
committer | MW | 2007-06-09 11:13:02 +0000 |
commit | 3658015de8f614b99f116b2971957307f0960c55 (patch) | |
tree | 491156d6c9a5319bdf032c94abd70784c157854e /OpenSim/OpenSim.World/Avatar.cs | |
parent | Protip: Check for obvious errors before submitting (diff) | |
download | opensim-SC_OLD-3658015de8f614b99f116b2971957307f0960c55.zip opensim-SC_OLD-3658015de8f614b99f116b2971957307f0960c55.tar.gz opensim-SC_OLD-3658015de8f614b99f116b2971957307f0960c55.tar.bz2 opensim-SC_OLD-3658015de8f614b99f116b2971957307f0960c55.tar.xz |
Number of small changes.
Diffstat (limited to 'OpenSim/OpenSim.World/Avatar.cs')
-rw-r--r-- | OpenSim/OpenSim.World/Avatar.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/OpenSim/OpenSim.World/Avatar.cs b/OpenSim/OpenSim.World/Avatar.cs index 6a4c0f8..c251d57 100644 --- a/OpenSim/OpenSim.World/Avatar.cs +++ b/OpenSim/OpenSim.World/Avatar.cs | |||
@@ -175,38 +175,7 @@ namespace OpenSim.world | |||
175 | /// </summary> | 175 | /// </summary> |
176 | public void SendRegionHandshake() | 176 | public void SendRegionHandshake() |
177 | { | 177 | { |
178 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; | ||
179 | RegionHandshakePacket handshake = new RegionHandshakePacket(); | ||
180 | 178 | ||
181 | handshake.RegionInfo.BillableFactor = m_regInfo.estateSettings.billableFactor; | ||
182 | handshake.RegionInfo.IsEstateManager = false; | ||
183 | handshake.RegionInfo.TerrainHeightRange00 = m_regInfo.estateSettings.terrainHeightRange0; | ||
184 | handshake.RegionInfo.TerrainHeightRange01 = m_regInfo.estateSettings.terrainHeightRange1; | ||
185 | handshake.RegionInfo.TerrainHeightRange10 = m_regInfo.estateSettings.terrainHeightRange2; | ||
186 | handshake.RegionInfo.TerrainHeightRange11 = m_regInfo.estateSettings.terrainHeightRange3; | ||
187 | handshake.RegionInfo.TerrainStartHeight00 = m_regInfo.estateSettings.terrainStartHeight0; | ||
188 | handshake.RegionInfo.TerrainStartHeight01 = m_regInfo.estateSettings.terrainStartHeight1; | ||
189 | handshake.RegionInfo.TerrainStartHeight10 = m_regInfo.estateSettings.terrainStartHeight2; | ||
190 | handshake.RegionInfo.TerrainStartHeight11 = m_regInfo.estateSettings.terrainStartHeight3; | ||
191 | handshake.RegionInfo.SimAccess = (byte)m_regInfo.estateSettings.simAccess; | ||
192 | handshake.RegionInfo.WaterHeight = m_regInfo.estateSettings.waterHeight; | ||
193 | |||
194 | |||
195 | handshake.RegionInfo.RegionFlags = (uint)m_regInfo.estateSettings.regionFlags; | ||
196 | |||
197 | handshake.RegionInfo.SimName = _enc.GetBytes(m_regInfo.estateSettings.waterHeight + "\0"); | ||
198 | handshake.RegionInfo.SimOwner = m_regInfo.MasterAvatarAssignedUUID; | ||
199 | handshake.RegionInfo.TerrainBase0 = m_regInfo.estateSettings.terrainBase0; | ||
200 | handshake.RegionInfo.TerrainBase1 = m_regInfo.estateSettings.terrainBase1; | ||
201 | handshake.RegionInfo.TerrainBase2 = m_regInfo.estateSettings.terrainBase2; | ||
202 | handshake.RegionInfo.TerrainBase3 = m_regInfo.estateSettings.terrainBase3; | ||
203 | handshake.RegionInfo.TerrainDetail0 = m_regInfo.estateSettings.terrainDetail0; | ||
204 | handshake.RegionInfo.TerrainDetail1 = m_regInfo.estateSettings.terrainDetail1; | ||
205 | handshake.RegionInfo.TerrainDetail2 = m_regInfo.estateSettings.terrainDetail2; | ||
206 | handshake.RegionInfo.TerrainDetail3 = m_regInfo.estateSettings.terrainDetail3; | ||
207 | handshake.RegionInfo.CacheID = LLUUID.Random(); //I guess this is for the client to remember an old setting? | ||
208 | |||
209 | this.ControllingClient.OutPacket(handshake); | ||
210 | } | 179 | } |
211 | 180 | ||
212 | /// <summary> | 181 | /// <summary> |