aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
2 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 2caeb14..4346b08 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -1478,7 +1478,7 @@ namespace OpenSim.Region.Environment.Scenes
1478 /// <summary> 1478 /// <summary>
1479 /// This method determines the proper movement related animation 1479 /// This method determines the proper movement related animation
1480 /// </summary> 1480 /// </summary>
1481 protected string GetMovementAnimation() 1481 public string GetMovementAnimation()
1482 { 1482 {
1483 if (m_movementflag != 0) 1483 if (m_movementflag != 0)
1484 { 1484 {
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4c4d173..9745ae6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4671,6 +4671,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4671 flags |= ScriptBaseClass.AGENT_TYPING; 4671 flags |= ScriptBaseClass.AGENT_TYPING;
4672 } 4672 }
4673 4673
4674 string agentMovementAnimation = agent.GetMovementAnimation();
4675 if (agentMovementAnimation == "WALK" || agentMovementAnimation == "CROUCHWALK")
4676 {
4677 flags |= ScriptBaseClass.AGENT_WALKING;
4678 }
4679
4674 //NotImplemented("llGetAgentInfo"); 4680 //NotImplemented("llGetAgentInfo");
4675 4681
4676 return flags; 4682 return flags;