From f6af5f49966f1a2269ee6ceb5e7694a8e3f67cdd Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 23 Jul 2014 22:28:51 +0100 Subject: [PATCH] change last commit setting intransit without messing flight --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 07564ba6e4..e7462ba18b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -1646,9 +1646,9 @@ namespace OpenSim.Region.Framework.Scenes "[SCENE PRESENCE]: Completing movement of {0} into region {1} in position {2}", client.Name, Scene.Name, AbsolutePosition); - bool flying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0); + - IsInTransit = true; + m_inTransit = true; try { // Make sure it's not a login agent. We don't want to wait for updates during login @@ -1679,7 +1679,7 @@ namespace OpenSim.Region.Framework.Scenes AbsolutePosition = pos; } - + bool flying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0); if (!MakeRootAgent(AbsolutePosition, flying)) { m_log.DebugFormat( @@ -1756,7 +1756,7 @@ namespace OpenSim.Region.Framework.Scenes } finally { - IsInTransit = false; + m_inTransit = false; } }