diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 7568888..8fa7880 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3926,10 +3926,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
3926 | scriptPosTarget target = m_targets[idx]; | 3926 | scriptPosTarget target = m_targets[idx]; |
3927 | if (Util.GetDistanceTo(target.targetPos, m_rootPart.GroupPosition) <= target.tolerance) | 3927 | if (Util.GetDistanceTo(target.targetPos, m_rootPart.GroupPosition) <= target.tolerance) |
3928 | { | 3928 | { |
3929 | at_target = true; | ||
3930 | |||
3929 | // trigger at_target | 3931 | // trigger at_target |
3930 | if (m_scriptListens_atTarget) | 3932 | if (m_scriptListens_atTarget) |
3931 | { | 3933 | { |
3932 | at_target = true; | ||
3933 | scriptPosTarget att = new scriptPosTarget(); | 3934 | scriptPosTarget att = new scriptPosTarget(); |
3934 | att.targetPos = target.targetPos; | 3935 | att.targetPos = target.targetPos; |
3935 | att.tolerance = target.tolerance; | 3936 | att.tolerance = target.tolerance; |