Skip to content
Snippets Groups Projects
Commit 952c8405 authored by Sal's avatar Sal
Browse files

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

Make HWR_AllowModel check for SPR2_SIGN instead of S_PLAY_SIGN

Closes #1066

See merge request !2076
parents 205ab612 f4d944e4
No related branches found
No related tags found
No related merge requests found
...@@ -1146,7 +1146,7 @@ static void HWR_GetBlendedTexture(patch_t *patch, patch_t *blendpatch, INT32 ski ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment