From 24cad832875e0fda15fbf3aab4c83e3503952178 Mon Sep 17 00:00:00 2001 From: SMS Alfredo <65426124+SMS-Alfredo@users.noreply.github.com> Date: Tue, 1 Aug 2023 17:43:39 -0500 Subject: [PATCH] Make both sign state and sprite2 disable models --- 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 4ce3b38f6..d005f0037 100644 --- a/src/hardware/hw_md2.c +++ b/src/hardware/hw_md2.c @@ -1146,7 +1146,7 @@ static void HWR_GetBlendedTexture(patch_t *patch, patch_t *blendpatch, INT32 ski static boolean HWR_AllowModel(mobj_t *mobj) { // Signpost overlay. Not needed. - if (mobj->sprite2 == SPR2_SIGN) + if (mobj->sprite2 == SPR2_SIGN || mobj->state-states == S_PLAY_SIGN) return false; // Otherwise, render the model.