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:
Oni VelocitOni 2025-08-01 16:00:48 +00:00
commit 1867079623

View file

@ -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))
{ {