diff options
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/Simulator/Avatar.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/Simulator/Avatar.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/OpenSim/OpenSim.RegionServer/Simulator/Avatar.cs b/OpenSim/OpenSim.RegionServer/Simulator/Avatar.cs index 0135e26..65a9a63 100644 --- a/OpenSim/OpenSim.RegionServer/Simulator/Avatar.cs +++ b/OpenSim/OpenSim.RegionServer/Simulator/Avatar.cs | |||
@@ -425,14 +425,14 @@ namespace OpenSim.RegionServer.Simulator | |||
425 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details"); | 425 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details"); |
426 | handshake.RegionInfo.BillableFactor = 0; | 426 | handshake.RegionInfo.BillableFactor = 0; |
427 | handshake.RegionInfo.IsEstateManager = false; | 427 | handshake.RegionInfo.IsEstateManager = false; |
428 | handshake.RegionInfo.TerrainHeightRange00 = regionInfo.m_regInfo.TerrainHeightRange00; | 428 | handshake.RegionInfo.TerrainHeightRange00 = regionInfo.m_regInfo.estateSettings.terrainHeightRangeNW; |
429 | handshake.RegionInfo.TerrainHeightRange01 = regionInfo.m_regInfo.TerrainHeightRange01; | 429 | handshake.RegionInfo.TerrainHeightRange01 = regionInfo.m_regInfo.estateSettings.terrainHeightRangeNE; |
430 | handshake.RegionInfo.TerrainHeightRange10 = regionInfo.m_regInfo.TerrainHeightRange10; | 430 | handshake.RegionInfo.TerrainHeightRange10 = regionInfo.m_regInfo.estateSettings.terrainHeightRangeSW; |
431 | handshake.RegionInfo.TerrainHeightRange11 = regionInfo.m_regInfo.TerrainHeightRange11; | 431 | handshake.RegionInfo.TerrainHeightRange11 = regionInfo.m_regInfo.estateSettings.terrainHeightRangeSE; |
432 | handshake.RegionInfo.TerrainStartHeight00 = regionInfo.m_regInfo.TerrainStartHeight00; | 432 | handshake.RegionInfo.TerrainStartHeight00 = regionInfo.m_regInfo.estateSettings.terrainStartHeightNW; |
433 | handshake.RegionInfo.TerrainStartHeight01 = regionInfo.m_regInfo.TerrainStartHeight01; | 433 | handshake.RegionInfo.TerrainStartHeight01 = regionInfo.m_regInfo.estateSettings.terrainStartHeightNE; |
434 | handshake.RegionInfo.TerrainStartHeight10 = regionInfo.m_regInfo.TerrainStartHeight10; | 434 | handshake.RegionInfo.TerrainStartHeight10 = regionInfo.m_regInfo.estateSettings.terrainStartHeightSW; |
435 | handshake.RegionInfo.TerrainStartHeight11 = regionInfo.m_regInfo.TerrainStartHeight11; | 435 | handshake.RegionInfo.TerrainStartHeight11 = regionInfo.m_regInfo.estateSettings.terrainStartHeightSE; |
436 | handshake.RegionInfo.SimAccess = 13; | 436 | handshake.RegionInfo.SimAccess = 13; |
437 | handshake.RegionInfo.WaterHeight = m_regionWaterHeight; | 437 | handshake.RegionInfo.WaterHeight = m_regionWaterHeight; |
438 | uint regionFlags = 72458694; | 438 | uint regionFlags = 72458694; |
@@ -442,15 +442,15 @@ namespace OpenSim.RegionServer.Simulator | |||
442 | } | 442 | } |
443 | handshake.RegionInfo.RegionFlags = regionFlags; | 443 | handshake.RegionInfo.RegionFlags = regionFlags; |
444 | handshake.RegionInfo.SimName = _enc.GetBytes(m_regionName + "\0"); | 444 | handshake.RegionInfo.SimName = _enc.GetBytes(m_regionName + "\0"); |
445 | handshake.RegionInfo.SimOwner = new LLUUID("00000000-0000-0000-0000-000000000000"); | 445 | handshake.RegionInfo.SimOwner = regionInfo.m_regInfo.MasterAvatarAssignedUUID; |
446 | handshake.RegionInfo.TerrainBase0 = regionInfo.m_regInfo.TerrainBase0; | 446 | handshake.RegionInfo.TerrainBase0 = regionInfo.m_regInfo.estateSettings.terrainBase0; |
447 | handshake.RegionInfo.TerrainBase1 = regionInfo.m_regInfo.TerrainBase1; | 447 | handshake.RegionInfo.TerrainBase1 = regionInfo.m_regInfo.estateSettings.terrainBase1; |
448 | handshake.RegionInfo.TerrainBase2 = regionInfo.m_regInfo.TerrainBase2; | 448 | handshake.RegionInfo.TerrainBase2 = regionInfo.m_regInfo.estateSettings.terrainBase2; |
449 | handshake.RegionInfo.TerrainBase3 = regionInfo.m_regInfo.TerrainBase3; | 449 | handshake.RegionInfo.TerrainBase3 = regionInfo.m_regInfo.estateSettings.terrainBase3; |
450 | handshake.RegionInfo.TerrainDetail0 = regionInfo.m_regInfo.TerrainDetail0; | 450 | handshake.RegionInfo.TerrainDetail0 = regionInfo.m_regInfo.estateSettings.terrainDetail0; |
451 | handshake.RegionInfo.TerrainDetail1 = regionInfo.m_regInfo.TerrainDetail1; | 451 | handshake.RegionInfo.TerrainDetail1 = regionInfo.m_regInfo.estateSettings.terrainDetail1; |
452 | handshake.RegionInfo.TerrainDetail2 = regionInfo.m_regInfo.TerrainDetail2; | 452 | handshake.RegionInfo.TerrainDetail2 = regionInfo.m_regInfo.estateSettings.terrainDetail2; |
453 | handshake.RegionInfo.TerrainDetail3 = regionInfo.m_regInfo.TerrainDetail3; | 453 | handshake.RegionInfo.TerrainDetail3 = regionInfo.m_regInfo.estateSettings.terrainDetail3; |
454 | handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37"); | 454 | handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37"); |
455 | 455 | ||
456 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:SendRegionHandshake() - Sending RegionHandshake packet"); | 456 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:SendRegionHandshake() - Sending RegionHandshake packet"); |