fixed IsPointOccupied()
This commit is contained in:
parent
187c37c9f7
commit
d26afb6ae4
1 changed files with 1 additions and 1 deletions
|
|
@ -3378,7 +3378,7 @@ bool Bot::IsPointOccupied (int index)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// check if this waypoint is already used
|
// 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;
|
int occupyId = GetShootingConeDeviation (bot->GetEntity (), &pev->origin) >= 0.7f ? bot->m_prevWptIndex[0] : m_currentWaypointIndex;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue