summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c3
1 files changed, 2 insertions, 1 deletions
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