From b684f478ba3c55a21d132350f4e3e345ec6f9c6d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 29 Mar 2020 21:46:22 +0200 Subject: Don't interrupt alien healing with Covid damage --- src/game/g_combat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 4df883c..e4c3bba 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1489,7 +1489,8 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, if( targ->client ) targ->client->ps.stats[ STAT_HEALTH ] = targ->health; - targ->lastDamageTime = level.time; + if( mod != MOD_CORONAVIRUS ) + targ->lastDamageTime = level.time; targ->lastDamageMOD = mod; //TA: add to the attackers "account" on the target -- cgit