fixed typo

This commit is contained in:
jeefo 2015-07-01 00:51:50 +03:00
commit 7ee191387a

View file

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