Don't draw Tails' tails in first person (MF2_LINKDRAW)

This commit is contained in:
James R 2020-01-17 20:56:32 -08:00
parent 762223db7c
commit 94a2f0bb4f
2 changed files with 2 additions and 2 deletions

View File

@ -5695,7 +5695,7 @@ static void HWR_ProjectSprite(mobj_t *thing)
if ((thing->flags2 & MF2_LINKDRAW) && thing->tracer)
{
// bodge support - not nearly as comprehensive as r_things.c, but better than nothing
if (thing->tracer->sprite == SPR_NULL || thing->tracer->flags2 & MF2_DONTDRAW)
if (! R_ThingVisible(thing->tracer))
return;
}

View File

@ -1413,7 +1413,7 @@ static void R_ProjectSprite(mobj_t *thing)
thing = thing->tracer;
if (thing->sprite == SPR_NULL || thing->flags2 & MF2_DONTDRAW)
if (! R_ThingVisible(thing))
return;
tr_x = thing->x - viewx;