mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-07 10:34:48 +00:00
Use INFLIVES macro in place of 0x7f for infinite lives check
This commit is contained in:
parent
5eddb1f455
commit
7db7a739d4
1 changed files with 1 additions and 1 deletions
|
@ -1914,7 +1914,7 @@ void G_Ticker(boolean run)
|
|||
else
|
||||
{
|
||||
// Costs a life to retry ... unless the player in question is dead already.
|
||||
if (G_GametypeUsesLives() && players[consoleplayer].playerstate == PST_LIVE && players[consoleplayer].lives != 0x7f)
|
||||
if (G_GametypeUsesLives() && players[consoleplayer].playerstate == PST_LIVE && players[consoleplayer].lives != INFLIVES)
|
||||
players[consoleplayer].lives -= 1;
|
||||
|
||||
G_DoReborn(consoleplayer);
|
||||
|
|
Loading…
Reference in a new issue