mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 05:41:02 +00:00
Update hw_md2.c -- Redundant AngleFixed operation when modifying anglef
This commit is contained in:
parent
090ecdb6e5
commit
3cd4b253b1
1 changed files with 1 additions and 1 deletions
|
@ -1043,7 +1043,7 @@ void HWR_DrawMD2(gr_vissprite_t *spr)
|
|||
|
||||
if (sprframe->rotate)
|
||||
{
|
||||
fixed_t anglef = AngleFixed(spr->mobj->angle);
|
||||
fixed_t anglef;
|
||||
if (spr->mobj->player)
|
||||
anglef = AngleFixed(spr->mobj->player->frameangle);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue