mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove trailing whitespace
This commit is contained in:
parent
921409224c
commit
1d59d8305d
2 changed files with 3 additions and 3 deletions
|
|
@ -447,7 +447,7 @@ static void D_Display(void)
|
||||||
{
|
{
|
||||||
if (i > 0) // Splitscreen-specific
|
if (i > 0) // Splitscreen-specific
|
||||||
{
|
{
|
||||||
switch (i)
|
switch (i)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
if (splitscreen > 1)
|
if (splitscreen > 1)
|
||||||
|
|
|
||||||
|
|
@ -3306,12 +3306,12 @@ void P_PlayerRingBurst(player_t *player, INT32 num_rings)
|
||||||
|
|
||||||
// 20 is the ring cap in kart
|
// 20 is the ring cap in kart
|
||||||
if (num_rings > 20)
|
if (num_rings > 20)
|
||||||
num_rings = 20;
|
num_rings = 20;
|
||||||
else if (num_rings <= 0)
|
else if (num_rings <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Cap the maximum loss automatically to 2 in ring debt
|
// Cap the maximum loss automatically to 2 in ring debt
|
||||||
if (player->kartstuff[k_rings] <= 0 && num_rings > 2)
|
if (player->kartstuff[k_rings] <= 0 && num_rings > 2)
|
||||||
num_rings = 2;
|
num_rings = 2;
|
||||||
|
|
||||||
P_GivePlayerRings(player, -num_rings);
|
P_GivePlayerRings(player, -num_rings);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue