diff options
-rw-r--r-- | OpenSim/Services/GridService/HypergridLinker.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index 8a60264..c6d2ee3 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -405,7 +405,7 @@ namespace OpenSim.Services.GridService | |||
405 | // Store the origin's coordinates somewhere | 405 | // Store the origin's coordinates somewhere |
406 | regInfo.RegionSecret = handle.ToString(); | 406 | regInfo.RegionSecret = handle.ToString(); |
407 | 407 | ||
408 | AddHyperlinkRegion(ref regInfo, handle); | 408 | AddHyperlinkRegion(regInfo, handle); |
409 | m_log.InfoFormat("[HYPERGRID LINKER]: Successfully linked to region {0} with image {1}", regInfo.RegionName, regInfo.TerrainImage); | 409 | m_log.InfoFormat("[HYPERGRID LINKER]: Successfully linked to region {0} with image {1}", regInfo.RegionName, regInfo.TerrainImage); |
410 | return true; | 410 | return true; |
411 | } | 411 | } |
@@ -485,11 +485,11 @@ namespace OpenSim.Services.GridService | |||
485 | // return true; | 485 | // return true; |
486 | // } | 486 | // } |
487 | 487 | ||
488 | private void AddHyperlinkRegion(ref GridRegion regionInfo, ulong regionHandle) | 488 | private void AddHyperlinkRegion(GridRegion regionInfo, ulong regionHandle) |
489 | { | 489 | { |
490 | RegionData rdata = m_GridService.RegionInfo2RegionData(regionInfo); | 490 | RegionData rdata = m_GridService.RegionInfo2RegionData(regionInfo); |
491 | regionInfo.Flags = OpenSim.Framework.RegionFlags.Hyperlink | OpenSim.Framework.RegionFlags.NoDirectLogin | OpenSim.Framework.RegionFlags.RegionOnline; | 491 | int flags = (int)OpenSim.Framework.RegionFlags.Hyperlink + (int)OpenSim.Framework.RegionFlags.NoDirectLogin + (int)OpenSim.Framework.RegionFlags.RegionOnline; |
492 | rdata.Data["flags"] = ((int)regionInfo.Flags).ToString(); | 492 | rdata.Data["flags"] = flags.ToString(); |
493 | 493 | ||
494 | m_Database.Store(rdata); | 494 | m_Database.Store(rdata); |
495 | } | 495 | } |