Update p_mobj.c

This commit is contained in:
Shane Ellis 2021-01-15 18:00:00 -05:00
parent 9bbebcbe9e
commit 225e7c72ac

View file

@ -1840,7 +1840,7 @@ void P_XYMovement(mobj_t *mo)
moved = false;
if (player) {
if (player->bot)
if (player->bot and player->bot != 3)
B_MoveBlocked(player);
}
@ -4135,7 +4135,7 @@ boolean P_BossTargetPlayer(mobj_t *actor, boolean closest)
player = &players[actor->lastlook];
if (player->pflags & PF_INVIS || player->bot || player->spectator)
if (player->pflags & PF_INVIS || (player->bot && player->bot != 3) || player->spectator)
continue; // ignore notarget
if (!player->mo || P_MobjWasRemoved(player->mo))