aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-07-17 19:15:36 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-07-17 19:15:36 +0000
commit94496c7ba643514f52fb453f12d5d22dee35f5ef (patch)
tree16dc863190a9e138182721265b900f87d637ff75 /code/game
parentbb5d5c5fcc89370a8e8692addaf359c81d81ffbc (diff)
downloadioquake3-aero-94496c7ba643514f52fb453f12d5d22dee35f5ef.tar.gz
ioquake3-aero-94496c7ba643514f52fb453f12d5d22dee35f5ef.zip
Revert "fix" because it was based on wrong assumptions and actually doesn't fix anything at all.
git-svn-id: svn://svn.icculus.org/quake3/trunk@817 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 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",