summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-06-27 00:25:17 +0000
committerTim Angus <tim@ngus.net>2005-06-27 00:25:17 +0000
commitdcce2065d01d3e4b175fcb4efe8ad2aa787c8c05 (patch)
tree376a9ad66e1dfe748ca3422a9bd5f7693b282cdd /src/game/g_weapon.c
parent2225bfe3b44d5f73976cc3aa17e1aa766fc57148 (diff)
* Fixed all the warnings reported after turning on -Wall
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index ddb5e0a7..aca895d6 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -514,7 +514,6 @@ void teslaFire( gentity_t *ent )
trace_t tr;
vec3_t end;
gentity_t *traceEnt, *tent;
- int i, passent;
VectorMA( muzzle, TESLAGEN_RANGE, forward, end );
@@ -696,7 +695,6 @@ qboolean CheckVenomAttack( gentity_t *ent )
vec3_t end;
gentity_t *tent;
gentity_t *traceEnt;
- int damage;
vec3_t mins, maxs;
VectorSet( mins, -LEVEL0_BITE_WIDTH, -LEVEL0_BITE_WIDTH, -LEVEL0_BITE_WIDTH );
@@ -809,7 +807,7 @@ void poisonCloud( gentity_t *ent )
{
int entityList[ MAX_GENTITIES ];
vec3_t range = { LEVEL1_PCLOUD_RANGE, LEVEL1_PCLOUD_RANGE, LEVEL1_PCLOUD_RANGE };
- vec3_t mins, maxs, dir;
+ vec3_t mins, maxs;
int i, num;
gentity_t *humanPlayer;
trace_t tr;