diff options
author | Justin Clark-Casey (justincc) | 2011-11-03 22:35:21 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-03 22:35:21 +0000 |
commit | ca2c25ece2d9a65b0cb5292ee52f10776c7f71c3 (patch) | |
tree | c3598da1d10a1375b65c8ed023971b2c835cf4a9 /OpenSim | |
parent | Add click/grab behaviour to pCampbot, which gets bots to randomly click things. (diff) | |
download | opensim-SC_OLD-ca2c25ece2d9a65b0cb5292ee52f10776c7f71c3.zip opensim-SC_OLD-ca2c25ece2d9a65b0cb5292ee52f10776c7f71c3.tar.gz opensim-SC_OLD-ca2c25ece2d9a65b0cb5292ee52f10776c7f71c3.tar.bz2 opensim-SC_OLD-ca2c25ece2d9a65b0cb5292ee52f10776c7f71c3.tar.xz |
Move one of the old physics sleeps out into the main bot loop, so leaving out PhysicsBehaviour doesn't result in continuous other behaviours
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Tools/pCampBot/PhysicsBot.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs index 6e40ca7..1b7c9a7 100644 --- a/OpenSim/Tools/pCampBot/PhysicsBot.cs +++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs | |||
@@ -150,6 +150,8 @@ namespace pCampBot | |||
150 | { | 150 | { |
151 | // m_log.DebugFormat("[pCAMPBOT]: For {0} performing action {1}", Name, b.GetType()); | 151 | // m_log.DebugFormat("[pCAMPBOT]: For {0} performing action {1}", Name, b.GetType()); |
152 | b.Action(this); | 152 | b.Action(this); |
153 | |||
154 | Thread.Sleep(Random.Next(1000, 10000)); | ||
153 | } | 155 | } |
154 | ); | 156 | ); |
155 | } | 157 | } |