diff options
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 4d5d3d3..4df883c 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -118,7 +118,9 @@ char *modNames[ ] = "MOD_ASPAWN", "MOD_ATUBE", "MOD_OVERMIND", - "MOD_SLAP" + "MOD_SLAP", + + "MOD_CORONAVIRUS" }; /* @@ -1488,6 +1490,7 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, targ->client->ps.stats[ STAT_HEALTH ] = targ->health; targ->lastDamageTime = level.time; + targ->lastDamageMOD = mod; //TA: add to the attackers "account" on the target if( targ->client && attacker->client ) |