Smoother MD2 interpolation

This commit is contained in:
Steel Titanium 2018-02-06 14:50:08 -05:00
parent 82f2f2f2f9
commit 0cc4b8d6db
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,7 @@ void HWR_DrawMD2(gr_vissprite_t *spr)
frame = (spr->mobj->frame & FF_FRAMEMASK) % md2->model->header.numFrames;
buff = md2->model->glCommandBuffer;
curr = &md2->model->frames[frame];
if (cv_grmd2.value == 1)
if (cv_grmd2.value == 1 && tics <= durs)
{
// frames are handled differently for states with FF_ANIMATE, so get the next frame differently for the interpolation
if (spr->mobj->frame & FF_ANIMATE)