fixed typo
This commit is contained in:
parent
dbd22ec99e
commit
7ee191387a
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ void Bot::CheckCloseAvoidance (const Vector &dirNormal)
|
|||
{
|
||||
Client *cl = &g_clients[i];
|
||||
|
||||
if (!(cl->flags & (CF_USED | CF_USED)) || cl->ent == GetEntity () || cl->team != m_team)
|
||||
if (!(cl->flags & (CF_USED | CF_ALIVE)) || cl->ent == GetEntity () || cl->team != m_team)
|
||||
continue;
|
||||
|
||||
float distance = (cl->ent->v.origin - pev->origin).GetLength ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue