Mach Spheres: do not award rings in stun

This commit is contained in:
James R 2025-08-01 01:08:28 -07:00
parent b2b941bcc9
commit fcf2dc1909

View file

@ -97,7 +97,11 @@ struct IvoBall : Mobj
timer(kCooldown);
toucher->player->ringboost += 10;
K_AwardPlayerRings(toucher->player, 1, false);
if (P_CanPickupItem(toucher->player, PICKUP_RINGORSPHERE))
{
K_AwardPlayerRings(toucher->player, 1, false);
}
if (P_IsDisplayPlayer(toucher->player))
{