Prevent bot auto-creation when removing bot, by delaying quota maintaining time.

This commit is contained in:
jeefo 2016-11-02 18:36:05 +03:00
commit 6769ddca39
2 changed files with 14 additions and 10 deletions

View file

@ -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)