mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
Don't draw Tails' tails in first person (MF2_LINKDRAW)
This commit is contained in:
parent
762223db7c
commit
94a2f0bb4f
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue