fixed IsPointOccupied()

This commit is contained in:
jeefo 2015-07-02 23:46:21 +03:00
commit d26afb6ae4

View file

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