From 2bd2e8e40388a2d828898d03e639f06656cf13cf Mon Sep 17 00:00:00 2001 From: Jeff Teunissen Date: Mon, 11 Dec 2000 11:12:48 +0000 Subject: [PATCH] Fix up the interpolation case where it made dead bodies dance and fall to the floor upon becoming visible. Quite funny, actually :) --- source/cl_ents.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/cl_ents.c b/source/cl_ents.c index a522f44..48554cf 100644 --- a/source/cl_ents.c +++ b/source/cl_ents.c @@ -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