mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Fix the funny angle lerp for grenades etc.
This commit is contained in:
parent
53212deb61
commit
d15ec2c95b
2 changed files with 8 additions and 2 deletions
|
@ -591,6 +591,9 @@ CL_RelinkEntities (void)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (cl_forcelink[i])
|
||||
*old = *new;
|
||||
|
||||
if (cl_forcelink[i] || new->modelindex != old->modelindex) {
|
||||
old->modelindex = new->modelindex;
|
||||
set_entity_model (ent, new->modelindex);
|
||||
|
@ -619,6 +622,9 @@ CL_RelinkEntities (void)
|
|||
if (cl_forcelink[i]) {
|
||||
// The entity was not updated in the last message so move to the
|
||||
// final spot
|
||||
VectorCopy (new->origin, ent->origin);
|
||||
if (!(ent->model->flags & EF_ROTATE))
|
||||
CL_TransformEntity (ent, new->angles, true);
|
||||
if (i != cl.viewentity || chase_active->int_val) {
|
||||
if (ent->efrag)
|
||||
r_funcs->R_RemoveEfrags (ent);
|
||||
|
|
|
@ -553,8 +553,8 @@ CL_ParseUpdate (int bits)
|
|||
else
|
||||
state->angles[2] = baseline->angles[2];
|
||||
|
||||
if (bits & U_STEP) //FIXME lerping (see fitzquake)
|
||||
forcelink = true;
|
||||
// if (bits & U_STEP) //FIXME lerping (see fitzquake)
|
||||
// forcelink = true;
|
||||
|
||||
if (cl.protocol == PROTOCOL_FITZQUAKE) {
|
||||
if (bits & U_ALPHA)
|
||||
|
|
Loading…
Reference in a new issue