diff --git a/code/cgame/cg_predict.c b/code/cgame/cg_predict.c index de33e4c9..6ec837c8 100644 --- a/code/cgame/cg_predict.c +++ b/code/cgame/cg_predict.c @@ -489,9 +489,11 @@ void CG_PredictPlayerState( void ) { if ( pmove_msec.integer < 8 ) { trap_Cvar_Set("pmove_msec", "8"); + trap_Cvar_Update(&pmove_msec); } else if (pmove_msec.integer > 33) { trap_Cvar_Set("pmove_msec", "33"); + trap_Cvar_Update(&pmove_msec); } cg_pmove.pmove_fixed = pmove_fixed.integer;// | cg_pmove_fixed.integer; diff --git a/code/game/g_active.c b/code/game/g_active.c index 775604a4..413331e9 100644 --- a/code/game/g_active.c +++ b/code/game/g_active.c @@ -785,9 +785,11 @@ void ClientThink_real( gentity_t *ent ) { if ( pmove_msec.integer < 8 ) { trap_Cvar_Set("pmove_msec", "8"); + trap_Cvar_Update(&pmove_msec); } else if (pmove_msec.integer > 33) { trap_Cvar_Set("pmove_msec", "33"); + trap_Cvar_Update(&pmove_msec); } if ( pmove_fixed.integer || client->pers.pmoveFixed ) {