aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot
diff options
context:
space:
mode:
authorJeff Ames2008-03-22 23:52:48 +0000
committerJeff Ames2008-03-22 23:52:48 +0000
commit9a2b289e328e336f349974302df41b34c92893c3 (patch)
treec44b4ae8c862446e3f04df8237563f544ed96063 /OpenSim/Tools/pCampBot
parentUpdate svn properties. (diff)
downloadopensim-SC-9a2b289e328e336f349974302df41b34c92893c3.zip
opensim-SC-9a2b289e328e336f349974302df41b34c92893c3.tar.gz
opensim-SC-9a2b289e328e336f349974302df41b34c92893c3.tar.bz2
opensim-SC-9a2b289e328e336f349974302df41b34c92893c3.tar.xz
Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch!
Diffstat (limited to 'OpenSim/Tools/pCampBot')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs20
-rw-r--r--OpenSim/Tools/pCampBot/PhysicsBot.cs2
2 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index 84648cd..a18fa1b 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -185,16 +185,16 @@ namespace pCampBot
185 /// <param name="commandParams"></param> 185 /// <param name="commandParams"></param>
186 /// <param name="pos"></param> 186 /// <param name="pos"></param>
187 /// <returns></returns> 187 /// <returns></returns>
188 private string CombineParams(string[] commandParams, int pos) 188 // TODO: unused: private string CombineParams(string[] commandParams, int pos)
189 { 189 // TODO: unused: {
190 string result = String.Empty; 190 // TODO: unused: string result = String.Empty;
191 for (int i = pos; i < commandParams.Length; i++) 191 // TODO: unused: for (int i = pos; i < commandParams.Length; i++)
192 { 192 // TODO: unused: {
193 result += commandParams[i] + " "; 193 // TODO: unused: result += commandParams[i] + " ";
194 } 194 // TODO: unused: }
195 result = result.TrimEnd(' '); 195 // TODO: unused: result = result.TrimEnd(' ');
196 return result; 196 // TODO: unused: return result;
197 } 197 // TODO: unused: }
198 198
199 /// <summary> 199 /// <summary>
200 /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit 200 /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs
index b079da6..8495b09 100644
--- a/OpenSim/Tools/pCampBot/PhysicsBot.cs
+++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs
@@ -89,7 +89,7 @@ namespace pCampBot
89 client.Self.Movement.AlwaysRun = false; 89 client.Self.Movement.AlwaysRun = false;
90 } 90 }
91 91
92 LLVector3 pos = client.Self.SimPosition; 92 // TODO: unused: LLVector3 pos = client.Self.SimPosition;
93 LLVector3 newpos = new LLVector3(somthing.Next(255), somthing.Next(255), somthing.Next(255)); 93 LLVector3 newpos = new LLVector3(somthing.Next(255), somthing.Next(255), somthing.Next(255));
94 client.Self.Movement.TurnToward(newpos); 94 client.Self.Movement.TurnToward(newpos);
95 95