diff options
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index d615b3f..1a46380 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -177,18 +177,21 @@ namespace pCampBot | |||
177 | // We must give each bot its own list of instantiated behaviours since they store state. | 177 | // We must give each bot its own list of instantiated behaviours since they store state. |
178 | List<IBehaviour> behaviours = new List<IBehaviour>(); | 178 | List<IBehaviour> behaviours = new List<IBehaviour>(); |
179 | 179 | ||
180 | // Hard-coded for now | 180 | // Hard-coded for now |
181 | if (behaviourSwitches.Contains("p")) | 181 | if (behaviourSwitches.Contains("c")) |
182 | behaviours.Add(new PhysicsBehaviour()); | 182 | behaviours.Add(new CrossBehaviour()); |
183 | 183 | ||
184 | if (behaviourSwitches.Contains("g")) | 184 | if (behaviourSwitches.Contains("g")) |
185 | behaviours.Add(new GrabbingBehaviour()); | 185 | behaviours.Add(new GrabbingBehaviour()); |
186 | |||
187 | if (behaviourSwitches.Contains("n")) | ||
188 | behaviours.Add(new NoneBehaviour()); | ||
189 | |||
190 | if (behaviourSwitches.Contains("p")) | ||
191 | behaviours.Add(new PhysicsBehaviour()); | ||
186 | 192 | ||
187 | if (behaviourSwitches.Contains("t")) | 193 | if (behaviourSwitches.Contains("t")) |
188 | behaviours.Add(new TeleportBehaviour()); | 194 | behaviours.Add(new TeleportBehaviour()); |
189 | |||
190 | if (behaviourSwitches.Contains("c")) | ||
191 | behaviours.Add(new CrossBehaviour()); | ||
192 | 195 | ||
193 | StartBot(this, behaviours, firstName, lastName, password, loginUri); | 196 | StartBot(this, behaviours, firstName, lastName, password, loginUri); |
194 | } | 197 | } |