Merge branch 'hide-followmobj' into 'next'

Hide Metal Sonic's jet fume in first person

Closes #204

See merge request STJr/SRB2!1099
This commit is contained in:
James R 2020-08-05 19:47:13 -04:00
commit 1c9633504d
1 changed files with 1 additions and 1 deletions

View File

@ -2773,7 +2773,7 @@ boolean R_ThingVisible (mobj_t *thing)
return (!(
thing->sprite == SPR_NULL ||
( thing->flags2 & (MF2_DONTDRAW) ) ||
thing == r_viewmobj
(r_viewmobj && (thing == r_viewmobj || (r_viewmobj->player && r_viewmobj->player->followmobj == thing)))
));
}