mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-21 19:51:18 +00:00
I don't think we want to do prediction when DISCONNECTED ...
This commit is contained in:
parent
89dd78e5fe
commit
b4dfcb0906
1 changed files with 6 additions and 5 deletions
|
@ -1460,20 +1460,21 @@ Host_Frame (float time)
|
|||
// resend a connection request if necessary
|
||||
if (cls.state == ca_disconnected) {
|
||||
CL_CheckForResend ();
|
||||
} else
|
||||
} else {
|
||||
CL_SendCmd ();
|
||||
|
||||
// Set up prediction for other players
|
||||
CL_SetUpPlayerPrediction (false);
|
||||
CL_SetUpPlayerPrediction (false);
|
||||
|
||||
// do client side motion prediction
|
||||
CL_PredictMove ();
|
||||
CL_PredictMove ();
|
||||
|
||||
// Set up prediction for other players
|
||||
CL_SetUpPlayerPrediction (true);
|
||||
CL_SetUpPlayerPrediction (true);
|
||||
|
||||
// build a refresh entity list
|
||||
CL_EmitEntities ();
|
||||
CL_EmitEntities ();
|
||||
}
|
||||
|
||||
// update video
|
||||
if (host_speeds->int_val)
|
||||
|
|
Loading…
Reference in a new issue