diff --git a/code/game/ai_dmq3.c b/code/game/ai_dmq3.c index 8f22e2f5..5198cb3d 100644 --- a/code/game/ai_dmq3.c +++ b/code/game/ai_dmq3.c @@ -2988,6 +2988,10 @@ int BotFindEnemy(bot_state_t *bs, int curenemy) { if (i == bs->client) continue; //if it's the current enemy if (i == curenemy) continue; + //if the enemy has targeting disabled + if (g_entities[i].flags & FL_NOTARGET) { + continue; + } // BotEntityInfo(i, &entinfo); //