Player Spin Frame MD2 Interpolation

Player spin frames on MD2's interpolate correctly when moving slowly.
This commit is contained in:
Sryder13 2014-04-07 12:37:15 +01:00
parent 56fbdfdad3
commit 7e04e679a9

View file

@ -1132,6 +1132,9 @@ void HWR_DrawMD2(gr_vissprite_t *spr)
spriteframe_t *sprframe; spriteframe_t *sprframe;
float finalscale; float finalscale;
if (tics > durs)
durs = tics;
if (spr->mobj->flags2 & MF2_SHADOW) if (spr->mobj->flags2 & MF2_SHADOW)
{ {
Surf.FlatColor.s.alpha = 0x40; Surf.FlatColor.s.alpha = 0x40;