mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +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
|
||||
{
|
||||
if (!((netgame || multiplayer) && gametype == GT_COOP))
|
||||
{
|
||||
P_GivePlayerLives(player, 1);
|
||||
P_PlayLivesJingle(player);
|
||||
}
|
||||
else
|
||||
{
|
||||
INT32 i;
|
||||
|
|
|
@ -933,11 +933,14 @@ void P_GivePlayerRings(player_t *player, INT32 num_rings)
|
|||
|
||||
if (gainlives)
|
||||
{
|
||||
INT32 i;
|
||||
if (!((netgame || multiplayer) && gametype == GT_COOP))
|
||||
{
|
||||
P_GivePlayerLives(player, gainlives);
|
||||
P_PlayLivesJingle(player);
|
||||
}
|
||||
else
|
||||
{
|
||||
INT32 i;
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (!playeringame[i])
|
||||
|
@ -952,6 +955,7 @@ void P_GivePlayerRings(player_t *player, INT32 num_rings)
|
|||
P_GivePlayerLives(&players[i], gainlives);
|
||||
P_PlayLivesJingle(&players[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue