mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Whip charge blocks award rings
This commit is contained in:
parent
34dd9e20d1
commit
ba4a5ec55e
1 changed files with 3 additions and 0 deletions
|
|
@ -454,6 +454,9 @@ INT32 P_GivePlayerRings(player_t *player, INT32 num_rings)
|
||||||
if ((gametyperules & GTR_SPHERES)) // No rings in Battle Mode
|
if ((gametyperules & GTR_SPHERES)) // No rings in Battle Mode
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
if (player->instaWhipCharge) // Even if a ring somehow makes contact with you, no it didn't
|
||||||
|
return 0;
|
||||||
|
|
||||||
if (gamedata && num_rings > 0 && P_IsPartyPlayer(player) && gamedata->totalrings <= GDMAX_RINGS)
|
if (gamedata && num_rings > 0 && P_IsPartyPlayer(player) && gamedata->totalrings <= GDMAX_RINGS)
|
||||||
{
|
{
|
||||||
gamedata->totalrings += num_rings;
|
gamedata->totalrings += num_rings;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue