From 7ee191387a1e7ba3f1ec479015b7d06361358dd6 Mon Sep 17 00:00:00 2001 From: jeefo Date: Wed, 1 Jul 2015 00:51:50 +0300 Subject: [PATCH] fixed typo --- source/navigate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ();