summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_buildable.c2
-rw-r--r--src/game/g_cmds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index fc119ad9..f37c64fe 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -2194,7 +2194,7 @@ void HTeslaGen_Think( gentity_t *self )
if( self->spawned && self->count < level.time )
{
- vec3_t range, mins, maxs, dir;
+ vec3_t range, mins, maxs;
int entityList[ MAX_GENTITIES ], i, num;
// Communicates firing state to client
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index fcfebecf..5b802f4d 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1950,7 +1950,7 @@ Cmd_Buy_f
void Cmd_Buy_f( gentity_t *ent )
{
char s[ MAX_TOKEN_CHARS ];
- int i, weapon, upgrade, maxAmmo, maxClips;
+ int weapon, upgrade, maxAmmo, maxClips;
qboolean energyOnly;
trap_Argv( 1, s, sizeof( s ) );