don't do local avoidance if sees enemy or round start time < 10
This commit is contained in:
parent
dabe84e4d6
commit
a2593f58bb
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ void Bot::ResetCollideState (void)
|
|||
|
||||
void Bot::CheckCloseAvoidance (const Vector &dirNormal)
|
||||
{
|
||||
if (m_seeEnemyTime + 1.0f > GetWorldTime ())
|
||||
if (m_seeEnemyTime + 1.0f < GetWorldTime () || g_timeRoundStart + 10.0f < GetWorldTime ())
|
||||
return;
|
||||
|
||||
edict_t *nearest = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue