float autocvar_cl_predictionerrorcompensation = 0;
+float autocvar_cl_movement_replay;
float autocvar_chase_active;
float autocvar_chase_back;
csqcplayer_origin = self.origin;
csqcplayer_velocity = self.velocity;
csqcplayer_sequence = servercommandframe;
- csqcplayer_status = CSQCPLAYERSTATUS_FROMSERVER;
+ csqcplayer_status = CSQCPLAYERSTATUS_PREDICTED;
}
void CSQCPlayer_PredictTo(float endframe)
self.origin = o;
self.velocity = v;
CSQCPlayer_SavePrediction();
- CSQCPlayer_Unpredict();
}
CSQCPlayer_PredictTo(clientcommandframe);
{
if(self.entnum != player_localentnum)
return 0;
+ cvar_clientsettemp("cl_movement_replay", "0");
if(csqcplayer_status != CSQCPLAYERSTATUS_FROMSERVER)
CSQCPlayer_Unpredict();
return 1;