diff options
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index fe8368a1..a08d9e48 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -73,7 +73,7 @@ void P_DamageFeedback( gentity_t *player ) if( ( level.time > player->pain_debounce_time ) && !( player->flags & FL_GODMODE ) ) { player->pain_debounce_time = level.time + 700; - G_AddEvent( player, EV_PAIN, player->health ); + G_AddEvent( player, EV_PAIN, player->health > 255 ? 255 : player->health ); client->ps.damageEvent++; } |