Prevent bot auto-creation when removing bot, by delaying quota maintaining time.
This commit is contained in:
parent
10b89ca011
commit
6769ddca39
2 changed files with 14 additions and 10 deletions
|
|
@ -972,7 +972,7 @@ bool Bot::IsWeaponBadInDistance (int weaponIndex, float distance)
|
|||
int wid = g_weaponSelect[weaponIndex].id;
|
||||
|
||||
if (wid == WEAPON_KNIFE)
|
||||
return false;
|
||||
return false;
|
||||
|
||||
// check is ammo available for secondary weapon
|
||||
if (m_ammoInClip[g_weaponSelect[GetBestSecondaryWeaponCarried ()].id] >= 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue