aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/PhysicsBot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tools/pCampBot/PhysicsBot.cs')
-rw-r--r--OpenSim/Tools/pCampBot/PhysicsBot.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs
index 49c3c78..84987b2 100644
--- a/OpenSim/Tools/pCampBot/PhysicsBot.cs
+++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs
@@ -29,7 +29,7 @@ using System;
29using System.IO; 29using System.IO;
30using System.Threading; 30using System.Threading;
31using System.Timers; 31using System.Timers;
32using libsecondlife; 32using OpenMetaverse;
33using Nini.Config; 33using Nini.Config;
34using OpenSim.Framework; 34using OpenSim.Framework;
35using OpenSim.Framework.Console; 35using OpenSim.Framework.Console;
@@ -55,7 +55,7 @@ namespace pCampBot
55 protected Random somthing = new Random(Environment.TickCount);// We do stuff randomly here 55 protected Random somthing = new Random(Environment.TickCount);// We do stuff randomly here
56 56
57 //New instance of a SecondLife client 57 //New instance of a SecondLife client
58 public SecondLife client = new SecondLife(); 58 public GridClient client = new GridClient();
59 59
60 protected string[] talkarray; 60 protected string[] talkarray;
61 /// <summary> 61 /// <summary>
@@ -87,8 +87,8 @@ namespace pCampBot
87 client.Self.Movement.AlwaysRun = false; 87 client.Self.Movement.AlwaysRun = false;
88 } 88 }
89 89
90 // TODO: unused: LLVector3 pos = client.Self.SimPosition; 90 // TODO: unused: Vector3 pos = client.Self.SimPosition;
91 LLVector3 newpos = new LLVector3(somthing.Next(255), somthing.Next(255), somthing.Next(255)); 91 Vector3 newpos = new Vector3(somthing.Next(255), somthing.Next(255), somthing.Next(255));
92 client.Self.Movement.TurnToward(newpos); 92 client.Self.Movement.TurnToward(newpos);
93 93
94 for (int i = 0; i < 2000; i++) 94 for (int i = 0; i < 2000; i++)