From 997dca8b0297aa186931a84e9f9838b2867f7f1e Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: remove a bunch of set-but-otherwise-unused variables --- src/cgame/cg_predict.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/cgame/cg_predict.c') diff --git a/src/cgame/cg_predict.c b/src/cgame/cg_predict.c index 59419b5..0f95ea2 100644 --- a/src/cgame/cg_predict.c +++ b/src/cgame/cg_predict.c @@ -547,7 +547,6 @@ void CG_PredictPlayerState( void ) { int cmdNum, current, i; playerState_t oldPlayerState; - qboolean moved; usercmd_t oldestCmd; usercmd_t latestCmd; int stateIndex = 0, predictCmd = 0; @@ -733,9 +732,6 @@ void CG_PredictPlayerState( void ) stateIndex = cg.stateHead; } - // run cmds - moved = qfalse; - for( cmdNum = current - CMD_BACKUP + 1; cmdNum <= current; cmdNum++ ) { // get the command @@ -853,8 +849,6 @@ void CG_PredictPlayerState( void ) stateIndex = ( stateIndex + 1 ) % NUM_SAVED_STATES; } - moved = qtrue; - // add push trigger movement effects CG_TouchTriggerPrediction( ); -- cgit