mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445.
This commit is contained in:
@@ -162,7 +162,7 @@ namespace OpenSim.Region.Environment.Modules
|
||||
avatar = m_scene.GetScenePresence(presence.ControllingClient.AgentId);
|
||||
if (avatar != null)
|
||||
{
|
||||
dis = (int)LLVector3.Mag(avatar.AbsolutePosition-fromPos);
|
||||
dis = (int) avatar.AbsolutePosition.GetDistanceTo(fromPos);
|
||||
}
|
||||
|
||||
switch (type)
|
||||
@@ -211,4 +211,4 @@ namespace OpenSim.Region.Environment.Modules
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user