fixed bot thinks he is stuck, while in combat
add one more check to waypoint occupy test
This commit is contained in:
parent
5291216d06
commit
2f03f579b3
2 changed files with 7 additions and 12 deletions
|
|
@ -1104,6 +1104,9 @@ void Bot::CombatFight (void)
|
|||
pev->button &= ~IN_JUMP;
|
||||
}
|
||||
}
|
||||
|
||||
m_isStuck = false;
|
||||
m_lastCollTime = GetWorldTime () + 0.5f;
|
||||
}
|
||||
|
||||
bool Bot::HasPrimaryWeapon (void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue