mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Bots can recover from dying
Rogue code that came back from vanilla
This commit is contained in:
parent
8ca13e3388
commit
fb1d495b5c
1 changed files with 0 additions and 5 deletions
|
|
@ -2632,9 +2632,6 @@ static void P_DeathThink(player_t *player)
|
||||||
if (player->deadtimer < INT32_MAX)
|
if (player->deadtimer < INT32_MAX)
|
||||||
player->deadtimer++;
|
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))
|
if ((player->pflags & PF_GAMETYPEOVER) && (gametyperules & GTR_CIRCUIT))
|
||||||
{
|
{
|
||||||
player->karthud[khud_timeovercam]++;
|
player->karthud[khud_timeovercam]++;
|
||||||
|
|
@ -2677,8 +2674,6 @@ static void P_DeathThink(player_t *player)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
notrealplayer:
|
|
||||||
|
|
||||||
if (!player->mo)
|
if (!player->mo)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue