From: havoc Date: Thu, 26 Jun 2003 16:21:20 +0000 (+0000) Subject: fix a bug in non-monster interpolation code (it was checking RENDER_STEP and doing... X-Git-Tag: xonotic-v0.1.0preview~6583 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2fa5a7c4fb14e158eb9c25a03fd1dfc5adc55d74;p=xonotic%2Fdarkplaces.git fix a bug in non-monster interpolation code (it was checking RENDER_STEP and doing a really bad job of it too, thanks to Vic for reporting this bug) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3103 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index 160a7bb2..58abb69c 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -519,7 +519,7 @@ void CL_MoveLerpEntityStates(entity_t *ent) // not a monster ent->persistent.lerpstarttime = cl.mtime[1]; // no lerp if it's singleplayer - if (sv.active && svs.maxclients == 1 && !ent->state_current.flags & RENDER_STEP) + if (sv.active && svs.maxclients == 1) ent->persistent.lerpdeltatime = 0; else ent->persistent.lerpdeltatime = cl.mtime[0] - cl.mtime[1];