mantis 8273 make change on crossings coerent

0.9.1.0-post-fixes
UbitUmarov 2018-08-26 03:11:32 +01:00
parent 14f55ab36e
commit 58ba645160
1 changed files with 3 additions and 0 deletions

View File

@ -1533,6 +1533,7 @@ namespace OpenSim.Region.Framework.Scenes
*/
public int GetStateSource()
{
/*
AgentCircuitData aCircuit = m_scene.AuthenticateHandler.GetAgentCircuitData(UUID);
if (aCircuit != null && (aCircuit.teleportFlags != (uint)TeleportFlags.Default))
@ -1543,6 +1544,8 @@ namespace OpenSim.Region.Framework.Scenes
return 5; // StateSource.Teleporting
}
return 2; // StateSource.PrimCrossing
*/
return m_teleportFlags == TeleportFlags.Default ? 2 : 5;
}
/// <summary>