fixed bot thinks he is stuck, while in combat

add one more check to waypoint occupy test
This commit is contained in:
jeefo 2015-06-26 23:41:17 +03:00
commit 2f03f579b3
2 changed files with 7 additions and 12 deletions

View file

@ -1104,6 +1104,9 @@ void Bot::CombatFight (void)
pev->button &= ~IN_JUMP;
}
}
m_isStuck = false;
m_lastCollTime = GetWorldTime () + 0.5f;
}
bool Bot::HasPrimaryWeapon (void)