aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-23 18:00:41 +0000
committerJustin Clark-Casey (justincc)2011-11-23 18:00:41 +0000
commite394f83df0d4af9f7efb826dbb49fe0eabedabdc (patch)
tree43a61ead85097e88ac36b2d2f7913426b7caea92 /OpenSim
parentLog error if we attempt to add/remove an OdeCharacter from the _characters li... (diff)
downloadopensim-SC-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.zip
opensim-SC-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.tar.gz
opensim-SC-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.tar.bz2
opensim-SC-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.tar.xz
Change random number generator property name in pCampbot
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index f5dd5e0..056f991 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -50,7 +50,12 @@ namespace pCampBot
50 50
51 protected CommandConsole m_console; 51 protected CommandConsole m_console;
52 protected List<Bot> m_lBot; 52 protected List<Bot> m_lBot;
53 protected Random somthing = new Random(Environment.TickCount); 53
54 /// <summary>
55 /// Random number generator.
56 /// </summary>
57 public Random Rng { get; private set; }
58
54 public IConfig Config { get; private set; } 59 public IConfig Config { get; private set; }
55 60
56 /// <summary> 61 /// <summary>
@@ -63,6 +68,7 @@ namespace pCampBot
63 /// </summary> 68 /// </summary>
64 public BotManager() 69 public BotManager()
65 { 70 {
71 Rng = new Random(Environment.TickCount);
66 AssetsReceived = new Dictionary<UUID, bool>(); 72 AssetsReceived = new Dictionary<UUID, bool>();
67 73
68 m_console = CreateConsole(); 74 m_console = CreateConsole();