From f31a58bd999db3d333da42c4fb15e35e989d9717 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 10 Nov 2011 19:40:45 +0000
Subject: Remove unused index parameter from BotManager.startupBot(). Rename
startupBot() => StartBot()
---
OpenSim/Tools/pCampBot/BotManager.cs | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
(limited to 'OpenSim/Tools')
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index c4c6f8f..c77e144 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -136,7 +136,7 @@ namespace pCampBot
if (behaviourSwitches.Contains("g"))
behaviours.Add(new GrabbingBehaviour());
- startupBot(i, this, behaviours, firstName, lastName, password, loginUri);
+ StartBot(this, behaviours, firstName, lastName, password, loginUri);
}
}
@@ -156,22 +156,21 @@ namespace pCampBot
// int newlen = len + botcount;
// for (int i = len; i < newlen; i++)
// {
-// startupBot(i, Config);
+// startupBot(Config);
// }
// }
///
/// This starts up the bot and stores the thread for the bot in the thread array
///
- /// The position in the thread array to stick the bot's thread
///
/// Behaviours for this bot to perform.
/// First name
/// Last name
/// Password
/// Login URI
- public void startupBot(
- int pos, BotManager bm, List behaviours,
+ public void StartBot(
+ BotManager bm, List behaviours,
string firstName, string lastName, string password, string loginUri)
{
Bot pb = new Bot(bm, behaviours, firstName, lastName, password, loginUri);
--
cgit v1.1