From 96cb4c1485603e38068a9473f970f763b121450a Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Sun, 3 Feb 2002 10:32:34 +0000 Subject: [PATCH 1/1] fixed monster interpolation in normal quake, which makes dpcrush not lerped unfortunately git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1482 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cl_parse.c b/cl_parse.c index 82f7f90b..4719d726 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -644,12 +644,13 @@ void CL_ParseUpdate (int bits) new.time = ent->state_current.time; if (memcmp(&new, &ent->state_current, sizeof(entity_state_t))) { + // set it back to what it should be + new.time = cl.mtime[0] + 0.1; // state has changed ent->state_previous = ent->state_current; ent->state_current = new; // assume 10fps animation - ent->state_previous.time = cl.mtime[0]; - ent->state_current.time = cl.mtime[0] + 0.1; //ent->state_previous.time + 0.1; + //ent->state_previous.time = cl.mtime[0] - 0.1; } } else -- 2.39.2