diff --git a/source/navigate.cpp b/source/navigate.cpp index 4e11658..cb13fa0 100644 --- a/source/navigate.cpp +++ b/source/navigate.cpp @@ -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 ();