Make HWR_AllowModel check for SPR2_SIGN instead of S_PLAY_SIGN

This commit is contained in:
MIDIMan 2023-07-29 20:45:10 -04:00
parent 205ab612f7
commit f4d944e49a

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->state-states == S_PLAY_SIGN) if (mobj->sprite2 == SPR2_SIGN)
return false; return false;
// Otherwise, render the model. // Otherwise, render the model.