All the bots ? darn, I must have screwed something *fires up MSVC*
You were right... I messed up with a global variable. A simple solution is to add a "Vector v_randomization" in the bot_t structure at the top of the file, and change the lines @452 and below to this:
Code:
// is the bot standing still ? (thanks sPlOrYgOn for the bug fix)
if (pBot->pEdict->v.velocity.Length () < 1.0)
pBot->v_randomization = randomization * 0.2; // randomize less than normal
else
pBot->v_randomization = randomization; // normal randomization
// randomize targeted location a bit (slightly towards the ground)
pBot->randomized_ideal_angles = UTIL_VecToAngles (pBot->targeted_location
+ Vector (RANDOM_FLOAT (-pBot->v_randomization.y, pBot->v_randomization.y),
RANDOM_FLOAT (-pBot->v_randomization.y, pBot->v_randomization.y),
RANDOM_FLOAT (-pBot->v_randomization.x * 1.5, pBot->v_randomization.x * 0.5))
- (pBot->v_eyeorigin));
*edit*
it's fixed. Version 2.3 is released.