mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'jartha/mach-spheres-half' into 'master'
Nerf Phantom Cup Blue Spheres, 30 ring boost -> 10, each sphere awards 1 ring See merge request kart-krew-dev/ring-racers-internal!2696
This commit is contained in:
commit
1867079623
1 changed files with 7 additions and 1 deletions
|
|
@ -93,10 +93,16 @@ struct IvoBall : Mobj
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!P_CanPickupItem(toucher->player, PICKUP_RINGORSPHERE))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
renderflags |= RF_DONTDRAW;
|
renderflags |= RF_DONTDRAW;
|
||||||
timer(kCooldown);
|
timer(kCooldown);
|
||||||
|
|
||||||
toucher->player->ringboost += 30;
|
toucher->player->ringboost += 10;
|
||||||
|
K_AwardPlayerRings(toucher->player, 1, false);
|
||||||
|
|
||||||
if (P_IsDisplayPlayer(toucher->player))
|
if (P_IsDisplayPlayer(toucher->player))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue