Fixed Game Over being broken in singleplayer. Woopsie doodle!

This commit is contained in:
toasterbabe 2017-07-04 14:57:22 +01:00
parent bc066a16a0
commit a65598a97a
2 changed files with 2 additions and 2 deletions

View file

@ -2528,7 +2528,7 @@ void G_DoReborn(INT32 playernum)
return;
}
if (countdowntimeup || (!multiplayer && gametype == GT_COOP))
if (countdowntimeup || (!(netgame || multiplayer) && gametype == GT_COOP))
resetlevel = true;
else if (gametype == GT_COOP && (netgame || multiplayer))
{

View file

@ -8358,7 +8358,7 @@ static void P_DeathThink(player_t *player)
//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->outofcoop = true;