mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 03:51:50 +00:00
Bot Controller E2 disables their movement entirely
This commit is contained in:
parent
c678146f0c
commit
529a99bc17
1 changed files with 6 additions and 0 deletions
|
|
@ -1278,6 +1278,12 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (botController != NULL && (botController->flags & ML_EFFECT2))
|
||||||
|
{
|
||||||
|
// Disable bot controls entirely.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
destangle = player->mo->angle;
|
destangle = player->mo->angle;
|
||||||
|
|
||||||
if (botController != NULL && (botController->flags & ML_EFFECT1))
|
if (botController != NULL && (botController->flags & ML_EFFECT1))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue