mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-07 13:01:01 +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
|
// resend a connection request if necessary
|
||||||
if (cls.state == ca_disconnected) {
|
if (cls.state == ca_disconnected) {
|
||||||
CL_CheckForResend ();
|
CL_CheckForResend ();
|
||||||
} else
|
} else {
|
||||||
CL_SendCmd ();
|
CL_SendCmd ();
|
||||||
|
|
||||||
// Set up prediction for other players
|
// Set up prediction for other players
|
||||||
CL_SetUpPlayerPrediction (false);
|
CL_SetUpPlayerPrediction (false);
|
||||||
|
|
||||||
// do client side motion prediction
|
// do client side motion prediction
|
||||||
CL_PredictMove ();
|
CL_PredictMove ();
|
||||||
|
|
||||||
// Set up prediction for other players
|
// Set up prediction for other players
|
||||||
CL_SetUpPlayerPrediction (true);
|
CL_SetUpPlayerPrediction (true);
|
||||||
|
|
||||||
// build a refresh entity list
|
// build a refresh entity list
|
||||||
CL_EmitEntities ();
|
CL_EmitEntities ();
|
||||||
|
}
|
||||||
|
|
||||||
// update video
|
// update video
|
||||||
if (host_speeds->int_val)
|
if (host_speeds->int_val)
|
||||||
|
|
Loading…
Reference in a new issue