From 651f793a9af60bd0662c509310f1cc50e424b1f0 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 5b4dac6..6e25aa3 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1487,7 +1487,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