Make both sign state and sprite2 disable models

This commit is contained in:
SMS Alfredo 2023-08-01 17:43:39 -05:00
parent d33358eed0
commit 24cad83287

View file

@ -1146,7 +1146,7 @@ static void HWR_GetBlendedTexture(patch_t *patch, patch_t *blendpatch, INT32 ski
static boolean HWR_AllowModel(mobj_t *mobj) static boolean HWR_AllowModel(mobj_t *mobj)
{ {
// Signpost overlay. Not needed. // Signpost overlay. Not needed.
if (mobj->sprite2 == SPR2_SIGN) if (mobj->sprite2 == SPR2_SIGN || mobj->state-states == S_PLAY_SIGN)
return false; return false;
// Otherwise, render the model. // Otherwise, render the model.