mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 23:02:16 +00:00
Fix up the interpolation case where it made dead bodies dance and fall
to the floor upon becoming visible. Quite funny, actually :)
This commit is contained in:
parent
d8e1f27d4b
commit
2bd2e8e403
1 changed files with 4 additions and 2 deletions
|
@ -560,7 +560,7 @@ CL_LinkPacketEntities (void)
|
|||
ent->skinnum = s1->skinnum;
|
||||
|
||||
// set frame
|
||||
ent->frame = s1->frame;
|
||||
ent->pose1 = ent->pose2 = ent->frame = s1->frame;
|
||||
|
||||
if (model->flags & EF_ROTATE) { // rotate binary objects locally
|
||||
ent->angles[0] = 0;
|
||||
|
@ -981,7 +981,9 @@ CL_LinkPlayers (void)
|
|||
ent->keynum = 0;
|
||||
ent->model = cl.model_precache[state->modelindex];
|
||||
ent->skinnum = state->skinnum;
|
||||
ent->frame = state->frame;
|
||||
ent->pose1 = ent->pose2 = ent->frame = state->frame;
|
||||
ent->frame_start_time = 0;
|
||||
ent->frame_interval = 0;
|
||||
ent->colormap = info->translations;
|
||||
if (state->modelindex == cl_playerindex)
|
||||
ent->scoreboard = info; // use custom skin
|
||||
|
|
Loading…
Reference in a new issue