mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
PIT_SSMineChecks: do not trip Mine radius if player has hyudorotimer
This commit is contained in:
parent
7940158d96
commit
c850248873
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue