From fb1d495b5c6ba97d018959a4ed93f9d5e2ae6e18 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Sat, 6 Feb 2021 01:40:39 -0500 Subject: [PATCH] Bots can recover from dying Rogue code that came back from vanilla --- src/p_user.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index 0df4aa756..87997cedc 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -2632,9 +2632,6 @@ static void P_DeathThink(player_t *player) if (player->deadtimer < INT32_MAX) player->deadtimer++; - if (player->bot) // don't allow bots to do any of the below, B_CheckRespawn does all they need for respawning already - goto notrealplayer; - if ((player->pflags & PF_GAMETYPEOVER) && (gametyperules & GTR_CIRCUIT)) { player->karthud[khud_timeovercam]++; @@ -2677,8 +2674,6 @@ static void P_DeathThink(player_t *player) } } -notrealplayer: - if (!player->mo) return;