diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/SimClient.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs index 770573a..40076d1 100644 --- a/OpenSim.RegionServer/SimClient.cs +++ b/OpenSim.RegionServer/SimClient.cs | |||
@@ -476,7 +476,16 @@ namespace OpenSim | |||
476 | } | 476 | } |
477 | break; | 477 | break; |
478 | case PacketType.AgentAnimation: | 478 | case PacketType.AgentAnimation: |
479 | //Console.WriteLine(Pack.ToString()); | 479 | AgentAnimationPacket AgentAni = (AgentAnimationPacket)Pack; |
480 | for (int i = 0; i < AgentAni.AnimationList.Length; i++) | ||
481 | { | ||
482 | if (AgentAni.AnimationList[i].StartAnim) | ||
483 | { | ||
484 | ClientAvatar.current_anim = AgentAni.AnimationList[i].AnimID; | ||
485 | ClientAvatar.anim_seq = 1; | ||
486 | ClientAvatar.SendAnimPack(); | ||
487 | } | ||
488 | } | ||
480 | break; | 489 | break; |
481 | case PacketType.ObjectSelect: | 490 | case PacketType.ObjectSelect: |
482 | ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack; | 491 | ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack; |