aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
index a3046b0..a9bba3f 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
@@ -384,19 +384,19 @@ namespace SimpleApp
384 } 384 }
385 if (flyState == 0) 385 if (flyState == 0)
386 { 386 {
387 movementFlag = (uint) MainAvatar.ControlFlags.AGENT_CONTROL_FLY | 387 movementFlag = (uint) AgentManager.ControlFlags.AGENT_CONTROL_FLY |
388 (uint) MainAvatar.ControlFlags.AGENT_CONTROL_UP_NEG; 388 (uint) AgentManager.ControlFlags.AGENT_CONTROL_UP_NEG;
389 flyState = 1; 389 flyState = 1;
390 } 390 }
391 else if (flyState == 1) 391 else if (flyState == 1)
392 { 392 {
393 movementFlag = (uint) MainAvatar.ControlFlags.AGENT_CONTROL_FLY | 393 movementFlag = (uint) AgentManager.ControlFlags.AGENT_CONTROL_FLY |
394 (uint) MainAvatar.ControlFlags.AGENT_CONTROL_UP_POS; 394 (uint) AgentManager.ControlFlags.AGENT_CONTROL_UP_POS;
395 flyState = 2; 395 flyState = 2;
396 } 396 }
397 else 397 else
398 { 398 {
399 movementFlag = (uint) MainAvatar.ControlFlags.AGENT_CONTROL_FLY; 399 movementFlag = (uint) AgentManager.ControlFlags.AGENT_CONTROL_FLY;
400 flyState = 0; 400 flyState = 0;
401 } 401 }
402 402