summaryrefslogtreecommitdiff
path: root/src/cgame/cg_buildable.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-06-26 21:03:43 +0000
committerTim Angus <tim@ngus.net>2005-06-26 21:03:43 +0000
commit2225bfe3b44d5f73976cc3aa17e1aa766fc57148 (patch)
treea38afb06d019c4d760805a488cd662c61d871080 /src/cgame/cg_buildable.c
parentf677b381ac8b8c6e46fa02d0a6d71d341c7dd367 (diff)
* 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
Diffstat (limited to 'src/cgame/cg_buildable.c')
-rw-r--r--src/cgame/cg_buildable.c3
1 files changed, 1 insertions, 2 deletions
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;