aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer
diff options
context:
space:
mode:
authorgareth2007-04-10 01:23:03 +0000
committergareth2007-04-10 01:23:03 +0000
commit868f184f23f19be0ee663d10ae2509e8adc35d70 (patch)
tree30641610ed2652594a70be78861bafc6caab68ab /OpenSim.RegionServer
parentFixed "teh bug" (diff)
downloadopensim-SC-868f184f23f19be0ee663d10ae2509e8adc35d70.zip
opensim-SC-868f184f23f19be0ee663d10ae2509e8adc35d70.tar.gz
opensim-SC-868f184f23f19be0ee663d10ae2509e8adc35d70.tar.bz2
opensim-SC-868f184f23f19be0ee663d10ae2509e8adc35d70.tar.xz
Avatar now stands still and does the normal animation stuff
Diffstat (limited to 'OpenSim.RegionServer')
-rw-r--r--OpenSim.RegionServer/SimClient.cs11
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;