From f4d944e49a21e5560ca252f0c00e6b4a79e1fee3 Mon Sep 17 00:00:00 2001 From: MIDIMan Date: Sat, 29 Jul 2023 20:45:10 -0400 Subject: [PATCH] Make HWR_AllowModel check for SPR2_SIGN instead of S_PLAY_SIGN --- 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 fca3af217..4ce3b38f6 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->state-states == S_PLAY_SIGN) + if (mobj->sprite2 == SPR2_SIGN) return false; // Otherwise, render the model.