diff --git a/src/p_enemy.c b/src/p_enemy.c index 7bc6090e4..dca5024bc 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -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; diff --git a/src/p_user.c b/src/p_user.c index 9a68efef3..bfad339c0 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -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]); } + } } } }