diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-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 46a7e3d..904c896 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3948,10 +3948,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
3948 | scriptPosTarget target = m_targets[idx]; | 3948 | scriptPosTarget target = m_targets[idx]; |
3949 | if (Util.GetDistanceTo(target.targetPos, m_rootPart.GroupPosition) <= target.tolerance) | 3949 | if (Util.GetDistanceTo(target.targetPos, m_rootPart.GroupPosition) <= target.tolerance) |
3950 | { | 3950 | { |
3951 | at_target = true; | ||
3952 | |||
3951 | // trigger at_target | 3953 | // trigger at_target |
3952 | if (m_scriptListens_atTarget) | 3954 | if (m_scriptListens_atTarget) |
3953 | { | 3955 | { |
3954 | at_target = true; | ||
3955 | scriptPosTarget att = new scriptPosTarget(); | 3956 | scriptPosTarget att = new scriptPosTarget(); |
3956 | att.targetPos = target.targetPos; | 3957 | att.targetPos = target.targetPos; |
3957 | att.tolerance = target.tolerance; | 3958 | att.tolerance = target.tolerance; |