else// if (ent->state_current.flags & RENDER_STEP)
{
// monster interpolation
- if (DotProduct(odelta, odelta) + DotProduct(adelta, adelta) > 0.01 || cl.mtime[0] - ent->persistent.lerpstarttime >= 0.1)
+ if (DotProduct(odelta, odelta) + DotProduct(adelta, adelta) > 0.01/* || cl.mtime[0] - ent->persistent.lerpstarttime >= 0.1*/)
{
- ent->persistent.lerpdeltatime = cl.time - ent->persistent.lerpstarttime;
+ ent->persistent.lerpdeltatime = bound(0, cl.mtime[1] - ent->persistent.lerpstarttime, 1);
ent->persistent.lerpstarttime = cl.mtime[1];
VectorCopy(ent->persistent.neworigin, ent->persistent.oldorigin);
VectorCopy(ent->persistent.newangles, ent->persistent.oldangles);