From d26afb6ae4f532146b1bfb60733719569c79891e Mon Sep 17 00:00:00 2001 From: jeefo Date: Thu, 2 Jul 2015 23:46:21 +0300 Subject: [PATCH] fixed IsPointOccupied() --- source/navigate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/navigate.cpp b/source/navigate.cpp index b5f5edf..ce9782b 100644 --- a/source/navigate.cpp +++ b/source/navigate.cpp @@ -3378,7 +3378,7 @@ bool Bot::IsPointOccupied (int index) continue; // check if this waypoint is already used - if (!bot->m_notKilled) + if (bot->m_notKilled) { int occupyId = GetShootingConeDeviation (bot->GetEntity (), &pev->origin) >= 0.7f ? bot->m_prevWptIndex[0] : m_currentWaypointIndex;