Check for reload when hiding.
This commit is contained in:
parent
9eaca5a27b
commit
2eef246e97
2 changed files with 5 additions and 1 deletions
|
|
@ -3728,6 +3728,10 @@ void Bot::hide_ (void) {
|
|||
pev->button |= m_campButtons;
|
||||
m_navTimeset = engine.timebase ();
|
||||
|
||||
if (!m_isReloading) {
|
||||
checkReload ();
|
||||
}
|
||||
|
||||
// stop camping if time over or gets hurt by something else than bullets
|
||||
if (task ()->time < engine.timebase () || m_lastDamageType > 0) {
|
||||
completeTask ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue