mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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;
|
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))
|
if (!((netgame || multiplayer) && gametype == GT_COOP && cv_playstyle.value))
|
||||||
{
|
{
|
||||||
P_GivePlayerLives(player, 1);
|
P_GivePlayerLives(player, numlives);
|
||||||
if (sound)
|
if (sound)
|
||||||
P_PlayLivesJingle(player);
|
P_PlayLivesJingle(player);
|
||||||
}
|
}
|
||||||
|
|
@ -971,7 +971,7 @@ void P_GiveCoopLives(player_t player, INT32 numlives, boolean sound)
|
||||||
if (!playeringame[i])
|
if (!playeringame[i])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
P_GivePlayerLives(&players[i], 1);
|
P_GivePlayerLives(&players[i], numlives);
|
||||||
if (sound)
|
if (sound)
|
||||||
P_PlayLivesJingle(&players[i]);
|
P_PlayLivesJingle(&players[i]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue