r817 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jul 17 15:15:36 EDT 2006


Author: thilo
Date: 2006-07-17 15:15:36 -0400 (Mon, 17 Jul 2006)
New Revision: 817

Modified:
   trunk/code/game/g_combat.c
Log:
Revert "fix" because it was based on wrong assumptions and actually doesn't fix anything at all.

Modified: trunk/code/game/g_combat.c
===================================================================
--- trunk/code/game/g_combat.c	2006-07-12 20:27:58 UTC (rev 816)
+++ trunk/code/game/g_combat.c	2006-07-17 19:15:36 UTC (rev 817)
@@ -489,7 +489,7 @@
 	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", 




More information about the quake3-commits mailing list