From 2225bfe3b44d5f73976cc3aa17e1aa766fc57148 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 26 Jun 2005 21:03:43 +0000 Subject: * Toned done the chaingun a touch * Inverted the direction in which a player is spawned * Fixed the alien buildable axis explosion bug * Fixed some class name foul ups in the obituaries * Disabled friendly fire by default --- src/cgame/cg_buildable.c | 3 +-- src/cgame/cg_event.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c index 9420af94..b027503a 100644 --- a/src/cgame/cg_buildable.c +++ b/src/cgame/cg_buildable.c @@ -79,7 +79,6 @@ Generated a bunch of gibs launching out from a location void CG_AlienBuildableExplosion( vec3_t origin, vec3_t dir ) { vec3_t velocity; - int count; particleSystem_t *ps; qhandle_t gibModel; int i; @@ -89,7 +88,7 @@ void CG_AlienBuildableExplosion( vec3_t origin, vec3_t dir ) // allow gibs to be turned off for speed if( cg_gibs.integer ) { - for( count = 0; count <= 8; count++ ) + for( i = 1; i <= 8; i++ ) { velocity[ 0 ] = crandom( ) * GGIB_VELOCITY; velocity[ 1 ] = crandom( ) * GGIB_VELOCITY; diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 3a1138e6..891e1371 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -264,13 +264,13 @@ static void CG_Obituary( entityState_t *ent ) case MOD_LEVEL2_CLAW: message = "was clawed by"; Com_sprintf( className, 64, "'s %s", - BG_FindHumanNameForClassNum( PCL_ALIEN_LEVEL3 ) ); + BG_FindHumanNameForClassNum( PCL_ALIEN_LEVEL2 ) ); message2 = className; break; case MOD_LEVEL2_ZAP: message = "was zapped by"; Com_sprintf( className, 64, "'s %s", - BG_FindHumanNameForClassNum( PCL_ALIEN_LEVEL3 ) ); + BG_FindHumanNameForClassNum( PCL_ALIEN_LEVEL2 ) ); message2 = className; break; case MOD_LEVEL4_CLAW: -- cgit