diff options
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 10 |
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 ) |