mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-16 01:31:30 +00:00
...forgot to check in these changes
This commit is contained in:
parent
2f3e4c3c65
commit
ff7ee4aa12
1 changed files with 3 additions and 3 deletions
|
@ -955,11 +955,11 @@ void P_GivePlayerLives(player_t *player, INT32 numlives)
|
|||
player->lives = 1;
|
||||
}
|
||||
|
||||
void P_GiveCoopLives(player_t player, INT32 numlives, boolean sound)
|
||||
void P_GiveCoopLives(player_t *player, INT32 numlives, boolean sound)
|
||||
{
|
||||
if (!((netgame || multiplayer) && gametype == GT_COOP && cv_playstyle.value))
|
||||
{
|
||||
P_GivePlayerLives(player, 1);
|
||||
P_GivePlayerLives(player, numlives);
|
||||
if (sound)
|
||||
P_PlayLivesJingle(player);
|
||||
}
|
||||
|
@ -971,7 +971,7 @@ void P_GiveCoopLives(player_t player, INT32 numlives, boolean sound)
|
|||
if (!playeringame[i])
|
||||
continue;
|
||||
|
||||
P_GivePlayerLives(&players[i], 1);
|
||||
P_GivePlayerLives(&players[i], numlives);
|
||||
if (sound)
|
||||
P_PlayLivesJingle(&players[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue