aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 51bc0d8..e5e6469 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -271,7 +271,7 @@ namespace OpenSim.Region.Examples.SimpleModule
271 { 271 {
272 } 272 }
273 273
274 public virtual void SendAvatarPickerReply(AvatarPickerReplyPacket response) 274 public virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List<AvatarPickerReplyDataArgs> Data)
275 { 275 {
276 } 276 }
277 277
@@ -528,9 +528,10 @@ namespace OpenSim.Region.Examples.SimpleModule
528 frame = 0; 528 frame = 0;
529 if (OnAgentUpdate != null) 529 if (OnAgentUpdate != null)
530 { 530 {
531 AgentUpdatePacket pack = new AgentUpdatePacket(); 531 AgentUpdateArgs pack = new AgentUpdateArgs();
532 pack.AgentData.ControlFlags = movementFlag; 532 pack.ControlFlags = movementFlag;
533 pack.AgentData.BodyRotation = bodyDirection; 533 pack.BodyRotation = bodyDirection;
534
534 OnAgentUpdate(this, pack); 535 OnAgentUpdate(this, pack);
535 } 536 }
536 if (flyState == 0) 537 if (flyState == 0)