Clear the attack time during reaction time

This commit is contained in:
smallmodel 2024-12-17 14:01:13 +01:00
parent 869b257bf8
commit 1be50cdddf
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -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;