some combat behavior tweaks
This commit is contained in:
parent
c12437689c
commit
d0a8cb727a
4 changed files with 70 additions and 63 deletions
|
|
@ -1065,7 +1065,7 @@ bool Bot::DoWaypointNav (void)
|
|||
|
||||
edict_t *ent = NULL;
|
||||
|
||||
if (m_doorOpenAttempt > 2 && !IsEntityNull (ent = FIND_ENTITY_IN_SPHERE (ent, pev->origin, 100)))
|
||||
if (m_doorOpenAttempt > 2 && !IsEntityNull (ent = FIND_ENTITY_IN_SPHERE (ent, pev->origin, 256.0f)))
|
||||
{
|
||||
if (IsValidPlayer (ent) && IsAlive (ent) && m_team != GetTeam (ent) && GetWeaponPenetrationPower (m_currentWeapon) > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue