Fixed up the coin-looping.

This commit is contained in:
toasterbabe 2016-10-13 15:13:33 +01:00
parent 2903180dee
commit 91f9770caf
1 changed files with 4 additions and 3 deletions

View File

@ -950,10 +950,11 @@ void P_GivePlayerRings(player_t *player, INT32 num_rings)
}
}
if (mariomode && player->health > 100)
if (mariomode && player->health > 100 && !G_RingSlingerGametype() && !G_TagGametype())
{
player->mo->health = 1;
player->health = 1;
player->mo->health = 1 + (player->health - 1) % 100;
player->health = player->mo->health;
player->xtralife = 0;
}
}