mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Clear the attack time during reaction time
This commit is contained in:
parent
869b257bf8
commit
1be50cdddf
1 changed files with 1 additions and 0 deletions
|
@ -659,6 +659,7 @@ bool BotController::CheckCondition_Attack(void)
|
|||
if (!m_pEnemy) {
|
||||
// Slight reaction time
|
||||
m_iConfirmTime = level.inttime + (200 + G_Random(200));
|
||||
m_iAttackTime = 0;
|
||||
}
|
||||
|
||||
m_pEnemy = sent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue