mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Fix THOK MD2's not rotating with camera
Will also fix any other case that an mobj has a skin and a single frame.
This commit is contained in:
parent
987f9f5c26
commit
781dd16fa6
1 changed files with 1 additions and 1 deletions
|
@ -1230,7 +1230,7 @@ void HWR_DrawMD2(gr_vissprite_t *spr)
|
|||
else
|
||||
p.z = FIXED_TO_FLOAT(spr->mobj->z);
|
||||
|
||||
if (spr->mobj->skin)
|
||||
if (spr->mobj->skin && spr->mobj->sprite == SPR_PLAY)
|
||||
sprdef = &((skin_t *)spr->mobj->skin)->spritedef;
|
||||
else
|
||||
sprdef = &sprites[spr->mobj->sprite];
|
||||
|
|
Loading…
Reference in a new issue