aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 8d8df1d..9011966 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6122,7 +6122,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6122 flags |= ScriptBaseClass.AGENT_SITTING; 6122 flags |= ScriptBaseClass.AGENT_SITTING;
6123 } 6123 }
6124 6124
6125 if (agent.Animator.Animations.DefaultAnimation.AnimID 6125 if (agent.Animator.Animations.ImplicitDefaultAnimation.AnimID
6126 == DefaultAvatarAnimations.AnimsUUID["SIT_GROUND_CONSTRAINED"]) 6126 == DefaultAvatarAnimations.AnimsUUID["SIT_GROUND_CONSTRAINED"])
6127 { 6127 {
6128 flags |= ScriptBaseClass.AGENT_SITTING; 6128 flags |= ScriptBaseClass.AGENT_SITTING;
@@ -8584,7 +8584,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8584 // and standing avatar since server 1.36 8584 // and standing avatar since server 1.36
8585 LSL_Vector lower; 8585 LSL_Vector lower;
8586 LSL_Vector upper; 8586 LSL_Vector upper;
8587 if (presence.Animator.Animations.DefaultAnimation.AnimID 8587 if (presence.Animator.Animations.ImplicitDefaultAnimation.AnimID
8588 == DefaultAvatarAnimations.AnimsUUID["SIT_GROUND_CONSTRAINED"]) 8588 == DefaultAvatarAnimations.AnimsUUID["SIT_GROUND_CONSTRAINED"])
8589 { 8589 {
8590 // This is for ground sitting avatars 8590 // This is for ground sitting avatars