mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-05 05:06:24 +00:00
Mach Spheres: do not collect in stun
This commit is contained in:
parent
fcf2dc1909
commit
1754ff0782
1 changed files with 6 additions and 5 deletions
|
|
@ -93,15 +93,16 @@ struct IvoBall : Mobj
|
|||
return;
|
||||
}
|
||||
|
||||
if (!P_CanPickupItem(toucher->player, PICKUP_RINGORSPHERE))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
renderflags |= RF_DONTDRAW;
|
||||
timer(kCooldown);
|
||||
|
||||
toucher->player->ringboost += 10;
|
||||
|
||||
if (P_CanPickupItem(toucher->player, PICKUP_RINGORSPHERE))
|
||||
{
|
||||
K_AwardPlayerRings(toucher->player, 1, false);
|
||||
}
|
||||
K_AwardPlayerRings(toucher->player, 1, false);
|
||||
|
||||
if (P_IsDisplayPlayer(toucher->player))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue