aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJeff Ames2009-04-06 14:36:44 +0000
committerJeff Ames2009-04-06 14:36:44 +0000
commit465f1df5923e82c0471aac6b771fb4b7f76d3cac (patch)
tree1c63a73bcdc71534945113df5828502381ac5134 /OpenSim/Region/ScriptEngine
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-465f1df5923e82c0471aac6b771fb4b7f76d3cac.zip
opensim-SC_OLD-465f1df5923e82c0471aac6b771fb4b7f76d3cac.tar.gz
opensim-SC_OLD-465f1df5923e82c0471aac6b771fb4b7f76d3cac.tar.bz2
opensim-SC_OLD-465f1df5923e82c0471aac6b771fb4b7f76d3cac.tar.xz
Add copyright headers, formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs38
1 files changed, 19 insertions, 19 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 18e97da..764f061 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -507,25 +507,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
507 == World.LandChannel.GetLandObject( 507 == World.LandChannel.GetLandObject(
508 presence.AbsolutePosition.X, presence.AbsolutePosition.Y).landData.OwnerID) 508 presence.AbsolutePosition.X, presence.AbsolutePosition.Y).landData.OwnerID)
509 { 509 {
510 510
511 // Check for hostname , attempt to make a hglink 511 // Check for hostname , attempt to make a hglink
512 // and convert the regionName to the target region 512 // and convert the regionName to the target region
513 if ( regionName.Contains(".") && regionName.Contains(":")) 513 if ( regionName.Contains(".") && regionName.Contains(":"))
514 { 514 {
515 // Try to link the region 515 // Try to link the region
516 RegionInfo regInfo = HGHyperlink.TryLinkRegion(World, 516 RegionInfo regInfo = HGHyperlink.TryLinkRegion(World,
517 presence.ControllingClient, 517 presence.ControllingClient,
518 regionName); 518 regionName);
519 // Get the region name 519 // Get the region name
520 if (regInfo != null) 520 if (regInfo != null)
521 { 521 {
522 regionName = regInfo.RegionName; 522 regionName = regInfo.RegionName;
523 } 523 }
524 else 524 else
525 { 525 {
526 // Might need to ping the client here in case of failure?? 526 // Might need to ping the client here in case of failure??
527 } 527 }
528 } 528 }
529 presence.ControllingClient.SendTeleportLocationStart(); 529 presence.ControllingClient.SendTeleportLocationStart();
530 World.RequestTeleportLocation(presence.ControllingClient, regionName, 530 World.RequestTeleportLocation(presence.ControllingClient, regionName,
531 new Vector3((float)position.x, (float)position.y, (float)position.z), 531 new Vector3((float)position.x, (float)position.y, (float)position.z),