First batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
#4736 #4730 #4731 #4732 #4733 #4735 #4736 #4737 #4738 #4739
This commit is contained in:
parent
392b246ee9
commit
83a3e2ae1b
6 changed files with 25 additions and 14 deletions
|
@ -2510,7 +2510,7 @@ int BotWantsToCamp(bot_state_t *bs) {
|
|||
//if the bot isn't healthy anough
|
||||
if (BotAggression(bs) < 50) return qfalse;
|
||||
//the bot should have at least have the rocket launcher, the railgun or the bfg10k with some ammo
|
||||
if ((bs->inventory[INVENTORY_ROCKETLAUNCHER] <= 0 || bs->inventory[INVENTORY_ROCKETS < 10]) &&
|
||||
if ((bs->inventory[INVENTORY_ROCKETLAUNCHER] <= 0 || bs->inventory[INVENTORY_ROCKETS] < 10) &&
|
||||
(bs->inventory[INVENTORY_RAILGUN] <= 0 || bs->inventory[INVENTORY_SLUGS] < 10) &&
|
||||
(bs->inventory[INVENTORY_BFG10K] <= 0 || bs->inventory[INVENTORY_BFGAMMO] < 10)) {
|
||||
return qfalse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue