From 781dd16fa6c3a5174fe35961d2296e9f509c4205 Mon Sep 17 00:00:00 2001 From: Sryder13 Date: Wed, 10 Sep 2014 00:22:39 +0100 Subject: [PATCH] Fix THOK MD2's not rotating with camera Will also fix any other case that an mobj has a skin and a single frame. --- src/hardware/hw_md2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_md2.c b/src/hardware/hw_md2.c index 0af7455ed..02f505351 100644 --- a/src/hardware/hw_md2.c +++ b/src/hardware/hw_md2.c @@ -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];