aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
Diffstat (limited to 'code/game')
-rw-r--r--code/game/g_combat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game/g_combat.c b/code/game/g_combat.c
index 567f49a..e24b6fa 100644
--- a/code/game/g_combat.c
+++ b/code/game/g_combat.c
@@ -489,7 +489,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int
if ( meansOfDeath < 0 || meansOfDeath >= sizeof( modNames ) / sizeof( modNames[0] ) ) {
obit = "<bad obituary>";
} else {
- obit = modNames[meansOfDeath-1];
+ obit = modNames[meansOfDeath];
}
G_LogPrintf("Kill: %i %i %i: %s killed %s by %s\n",