mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 12:50:44 +00:00
Player Spin Frame MD2 Interpolation
Player spin frames on MD2's interpolate correctly when moving slowly.
This commit is contained in:
parent
56fbdfdad3
commit
7e04e679a9
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue