mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
...i am fool
This commit is contained in:
parent
965e1f6b45
commit
ce181da83c
2 changed files with 7 additions and 1 deletions
|
|
@ -3287,8 +3287,10 @@ void A_ExtraLife(mobj_t *actor)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!((netgame || multiplayer) && gametype == GT_COOP))
|
if (!((netgame || multiplayer) && gametype == GT_COOP))
|
||||||
|
{
|
||||||
P_GivePlayerLives(player, 1);
|
P_GivePlayerLives(player, 1);
|
||||||
P_PlayLivesJingle(player);
|
P_PlayLivesJingle(player);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
|
||||||
|
|
@ -933,11 +933,14 @@ void P_GivePlayerRings(player_t *player, INT32 num_rings)
|
||||||
|
|
||||||
if (gainlives)
|
if (gainlives)
|
||||||
{
|
{
|
||||||
INT32 i;
|
|
||||||
if (!((netgame || multiplayer) && gametype == GT_COOP))
|
if (!((netgame || multiplayer) && gametype == GT_COOP))
|
||||||
|
{
|
||||||
P_GivePlayerLives(player, gainlives);
|
P_GivePlayerLives(player, gainlives);
|
||||||
P_PlayLivesJingle(player);
|
P_PlayLivesJingle(player);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
INT32 i;
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
{
|
{
|
||||||
if (!playeringame[i])
|
if (!playeringame[i])
|
||||||
|
|
@ -952,6 +955,7 @@ void P_GivePlayerRings(player_t *player, INT32 num_rings)
|
||||||
P_GivePlayerLives(&players[i], gainlives);
|
P_GivePlayerLives(&players[i], gainlives);
|
||||||
P_PlayLivesJingle(&players[i]);
|
P_PlayLivesJingle(&players[i]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue