Fix wrong means of death message in server log.

This commit is contained in:
Thilo Schulz 2006-07-09 16:36:33 +00:00
parent 6327f1ce47
commit 57a5f2571a

View file

@ -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",