From: lordhavoc Date: Sun, 3 Feb 2002 10:32:34 +0000 (+0000) Subject: fixed monster interpolation in normal quake, which makes dpcrush not lerped unfortunately X-Git-Tag: RELEASE_0_2_0_RC1~663 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=96cb4c1485603e38068a9473f970f763b121450a;hp=ed996e36593931c7c6bb4eec613751cc9f800500;p=xonotic%2Fdarkplaces.git 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 --- 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