summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-03-29 14:45:05 +0100
committerIronClawTrem <louie.nutman@gmail.com>2020-03-29 14:45:05 +0100
commit4d46255e2317a9febdf36368496fa958056883e2 (patch)
treefba0c60b70c5616e7055ac142cdd7d22687fdc90 /src/game/g_active.c
parent0092faa58e55ee8fd29e2887573bffbb8c5d7faa (diff)
Fix compiler warnings
Mostly a metric ton of unused variables
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index a6f246c..1dd27f4 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -574,8 +574,7 @@ void ClientTimerActions( gentity_t *ent, int msec )
usercmd_t *ucmd;
int aForward, aRight;
qboolean walking = qfalse, stopped = qfalse,
- crouched = qfalse, jumping = qfalse,
- strafing = qfalse;
+ crouched = qfalse;
ucmd = &ent->client->pers.cmd;
@@ -601,12 +600,7 @@ void ClientTimerActions( gentity_t *ent, int msec )
else if( aForward <= 64 && aRight <= 64 )
walking = qtrue;
- if( aRight > 0 )
- strafing = qtrue;
-
- if( ucmd->upmove > 0 )
- jumping = qtrue;
- else if( ent->client->ps.pm_flags & PMF_DUCKED )
+ if( ent->client->ps.pm_flags & PMF_DUCKED )
crouched = qtrue;
while ( client->time100 >= 100 )