diff --git a/src/r_things.cpp b/src/r_things.cpp index 8d18327e0..f26d5dd0d 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -3874,9 +3874,19 @@ fixed_t R_GetThingFade(mobj_t *thing) { fixed_t fadealpha = FRACUNIT; - if (!cv_playerfade.value || leveltime < starttime-(3*TICRATE) || !thing->player || thing->player == viewplayer) + if (!cv_playerfade.value || leveltime < starttime-(3*TICRATE)) return fadealpha; + if (thing->type == MT_PLAYER) + { + if (!thing->player || thing->player == viewplayer) + return fadealpha; + } + else if (thing->type != MT_FOLLOWER && thing->type != MT_FOLLOWERBUBBLE_BACK && thing->type != MT_FOLLOWERBUBBLE_FRONT) + { + return fadealpha; + } + const INT32 playerdist = (FixedMul((thing->x - viewx), viewcos) + FixedMul((thing->y - viewy), viewsin)) >> FRACBITS; const INT32 viewplayerdist = (FixedMul((viewplayer->mo->x - viewx), viewcos) + FixedMul((viewplayer->mo->y - viewy), viewsin)) >> FRACBITS;