mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
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:
commit
952c84050b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue