Bots don't fastfall while respawning

This commit is contained in:
Sally Coolatta 2024-01-24 15:10:17 -05:00 committed by AJ Martinez
parent dc8a3e712a
commit 0904728046

View file

@ -1669,7 +1669,7 @@ static void K_BuildBotTiccmdNormal(const player_t *player, ticcmd_t *cmd)
if (P_IsObjectOnGround(player->mo) == false) if (P_IsObjectOnGround(player->mo) == false)
{ {
if (player->fastfall == 0) if (player->fastfall == 0 && player->respawn.state == RESPAWNST_NONE)
{ {
if (botController != nullptr && (botController->flags & TMBOT_FASTFALL) == TMBOT_FASTFALL) if (botController != nullptr && (botController->flags & TMBOT_FASTFALL) == TMBOT_FASTFALL)
{ {