PIT_SSMineChecks: do not trip Mine radius if player has hyudorotimer

This commit is contained in:
James R. 2023-09-17 19:21:57 -07:00
parent 7940158d96
commit c850248873

View file

@ -218,7 +218,7 @@ static inline boolean PIT_SSMineChecks(mobj_t *thing)
if (!(thing->flags & MF_SHOOTABLE) || (thing->flags & MF_SCENERY))
return true;
if (thing->player && thing->player->spectator)
if (thing->player && (thing->player->spectator || thing->player->hyudorotimer > 0))
return true;
if (P_AproxDistance(P_AproxDistance(thing->x - grenade->x, thing->y - grenade->y), thing->z - grenade->z) > explodedist)