Merge branch 'gl-signpost-fix' into 'next'

Make HWR_AllowModel check for SPR2_SIGN instead of S_PLAY_SIGN

Closes #1066

See merge request STJr/SRB2!2076
This commit is contained in:
Sal 2023-07-30 12:14:43 +00:00
commit 952c84050b

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.