mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Fixed up the coin-looping.
This commit is contained in:
parent
2903180dee
commit
91f9770caf
1 changed files with 4 additions and 3 deletions
|
@ -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->mo->health = 1 + (player->health - 1) % 100;
|
||||||
player->health = 1;
|
player->health = player->mo->health;
|
||||||
|
player->xtralife = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue