fixed build
This commit is contained in:
parent
55e4cf4bd9
commit
c359eb8861
1 changed files with 1 additions and 1 deletions
|
|
@ -2998,7 +2998,7 @@ void Bot::PeriodicThink (void)
|
|||
// clear enemy far away
|
||||
if (m_lastEnemyOrigin != nullvec && !IsEntityNull (m_lastEnemy) && (pev->origin - m_lastEnemyOrigin).GetLength () >= 1600.0)
|
||||
{
|
||||
m_lastEnemy = nullptr;
|
||||
m_lastEnemy = NULL;
|
||||
m_lastEnemyOrigin = nullvec;
|
||||
}
|
||||
m_timePeriodicUpdate = GetWorldTime () + 0.25f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue