aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
index b9bf42b..b35e60f 100644
--- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
@@ -557,8 +557,10 @@ namespace OpenSim.Region.Environment.Scenes
557 LLVector3 lookAt, uint flags) 557 LLVector3 lookAt, uint flags)
558 { 558 {
559 bool destRegionUp = false; 559 bool destRegionUp = false;
560
560 if (regionHandle == m_regionInfo.RegionHandle) 561 if (regionHandle == m_regionInfo.RegionHandle)
561 { 562 {
563 // Teleport within the same region
562 avatar.ControllingClient.SendTeleportLocationStart(); 564 avatar.ControllingClient.SendTeleportLocationStart();
563 avatar.ControllingClient.SendLocalTeleport(position, lookAt, flags); 565 avatar.ControllingClient.SendLocalTeleport(position, lookAt, flags);
564 avatar.Teleport(position); 566 avatar.Teleport(position);