r815 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 9 12:36:33 EDT 2006


Author: thilo
Date: 2006-07-09 12:36:33 -0400 (Sun, 09 Jul 2006)
New Revision: 815

Modified:
   trunk/code/game/g_combat.c
Log:
Fix wrong means of death message in server log.

Modified: trunk/code/game/g_combat.c
===================================================================
--- trunk/code/game/g_combat.c	2006-07-06 09:25:17 UTC (rev 814)
+++ trunk/code/game/g_combat.c	2006-07-09 16:36:33 UTC (rev 815)
@@ -489,7 +489,7 @@
 	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", 




More information about the quake3-commits mailing list