mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Fixed Game Over being broken in singleplayer. Woopsie doodle!
This commit is contained in:
parent
bc066a16a0
commit
a65598a97a
2 changed files with 2 additions and 2 deletions
|
|
@ -2528,7 +2528,7 @@ void G_DoReborn(INT32 playernum)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (countdowntimeup || (!multiplayer && gametype == GT_COOP))
|
if (countdowntimeup || (!(netgame || multiplayer) && gametype == GT_COOP))
|
||||||
resetlevel = true;
|
resetlevel = true;
|
||||||
else if (gametype == GT_COOP && (netgame || multiplayer))
|
else if (gametype == GT_COOP && (netgame || multiplayer))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8358,7 +8358,7 @@ static void P_DeathThink(player_t *player)
|
||||||
//else if (gametype == GT_COOP) -- moved to G_DoReborn
|
//else if (gametype == GT_COOP) -- moved to G_DoReborn
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gametype == GT_COOP && (player->lives <= 0) && (player->deadtimer >= 8*TICRATE || ((cmd->buttons & BT_JUMP) && (player->deadtimer > TICRATE))))
|
if (gametype == GT_COOP && (multiplayer || netgame) && (player->lives <= 0) && (player->deadtimer >= 8*TICRATE || ((cmd->buttons & BT_JUMP) && (player->deadtimer > TICRATE))))
|
||||||
{
|
{
|
||||||
//player->spectator = true;
|
//player->spectator = true;
|
||||||
player->outofcoop = true;
|
player->outofcoop = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue