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:
Jeff Teunissen 2000-12-11 11:12:48 +00:00
parent d8e1f27d4b
commit 2bd2e8e403
1 changed files with 4 additions and 2 deletions

View File

@ -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