aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-07-09 16:36:33 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-07-09 16:36:33 +0000
commitbb5d5c5fcc89370a8e8692addaf359c81d81ffbc (patch)
tree898c657f296ced56c14a4b35800a6632669aa06d /code/game
parentbabb6e1a14b8e94d5cf0f47c542e9ceb47ca150f (diff)
downloadioquake3-aero-bb5d5c5fcc89370a8e8692addaf359c81d81ffbc.tar.gz
ioquake3-aero-bb5d5c5fcc89370a8e8692addaf359c81d81ffbc.zip
Fix wrong means of death message in server log.
git-svn-id: svn://svn.icculus.org/quake3/trunk@815 edf5b092-35ff-0310-97b2-ce42778d08ea
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 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",