remove of pod-bot-mm msec method
fixed weird aiming on low fps machines fixed potential crash bug in weaponn selection code
This commit is contained in:
parent
a5c1c0dc7f
commit
ac3a5c7c3f
6 changed files with 14 additions and 31 deletions
|
|
@ -1421,7 +1421,7 @@ void Bot::SelectBestWeapon (void)
|
|||
ammoLeft = true;
|
||||
|
||||
// is no ammo required for this weapon OR enough ammo available to fire
|
||||
if (g_weaponDefs[id].ammo1 < 0 || m_ammo[g_weaponDefs[id].ammo1] >= selectTab[selectIndex].minPrimaryAmmo)
|
||||
if (g_weaponDefs[id].ammo1 < 0 || (g_weaponDefs[id].ammo1 < 32 && m_ammo[g_weaponDefs[id].ammo1] >= selectTab[selectIndex].minPrimaryAmmo))
|
||||
ammoLeft = true;
|
||||
|
||||
if (ammoLeft)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue