diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 85f4ee5..2a39ffd 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2280,8 +2280,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2280 | 2280 | ||
2281 | ParentPart = part; | 2281 | ParentPart = part; |
2282 | ParentID = part.LocalId; | 2282 | ParentID = part.LocalId; |
2283 | 2283 | if(status == 3) | |
2284 | Animator.TrySetMovementAnimation("SIT"); | 2284 | Animator.TrySetMovementAnimation("SIT_GROUND"); |
2285 | else | ||
2286 | Animator.TrySetMovementAnimation("SIT"); | ||
2285 | SendAvatarDataToAllAgents(); | 2287 | SendAvatarDataToAllAgents(); |
2286 | 2288 | ||
2287 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | 2289 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); |