aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/game/g_combat.c')
-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 d8ea476..567f49a 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 ];
+ obit = modNames[meansOfDeath-1];
}
G_LogPrintf("Kill: %i %i %i: %s killed %s by %s\n",