summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 1668058a..2def0e5d 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1471,6 +1471,11 @@ void ClientThink_real( gentity_t *ent )
}
ent->nextRegenTime += 1000 / ( regenRate * modifier );
}
+ else
+ {
+ ent->health -= 1;
+ ent->nextRegenTime += 1000 / regenRate;
+ }
}
if( BG_InventoryContainsUpgrade( UP_GRENADE, client->ps.stats ) &&