mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
Dead code removal.
This commit is contained in:
parent
b3d6875e61
commit
4d74b80a38
1 changed files with 0 additions and 13 deletions
|
@ -51,8 +51,6 @@ void
|
|||
CL_PredictUsercmd (player_state_t * from, player_state_t * to, usercmd_t *u,
|
||||
qboolean clientplayer)
|
||||
{
|
||||
// Dabb: if there is no movement to start with, don't predict...
|
||||
// Despair: Not predicting for the client's player is painful.
|
||||
if (!clientplayer) {
|
||||
if (VectorIsZero (from->velocity)) {
|
||||
VectorCopy (from->origin, to->origin);
|
||||
|
@ -76,7 +74,6 @@ CL_PredictUsercmd (player_state_t * from, player_state_t * to, usercmd_t *u,
|
|||
}
|
||||
|
||||
VectorCopy (from->origin, pmove.origin);
|
||||
// VectorCopy (from->viewangles, pmove.angles);
|
||||
VectorCopy (u->angles, pmove.angles);
|
||||
VectorCopy (from->velocity, pmove.velocity);
|
||||
|
||||
|
@ -156,16 +153,6 @@ CL_PredictMove (void)
|
|||
return;
|
||||
}
|
||||
|
||||
/* FIXME Despair: always predict clientplayer
|
||||
// Dabb: if there is no movement to start with, don't predict...
|
||||
if (!cl_predict_static->int_val
|
||||
&& VectorIsZero (from->playerstate[cl.playernum].velocity)) {
|
||||
VectorCopy (from->playerstate[cl.playernum].velocity, cl.simvel);
|
||||
VectorCopy (from->playerstate[cl.playernum].origin, cl.simorg);
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
// predict forward until cl.time <= to->senttime
|
||||
oldphysent = pmove.numphysent;
|
||||
CL_SetSolidPlayers (cl.playernum);
|
||||
|
|
Loading…
Reference in a new issue