Bot Controller E2 disables their movement entirely

This commit is contained in:
Sally Coolatta 2022-05-24 14:37:43 -04:00
parent c678146f0c
commit 529a99bc17

View file

@ -1278,6 +1278,12 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd)
return;
}
if (botController != NULL && (botController->flags & ML_EFFECT2))
{
// Disable bot controls entirely.
return;
}
destangle = player->mo->angle;
if (botController != NULL && (botController->flags & ML_EFFECT1))