From 79e0524a0c070eee59a169043129e0454902d1da Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 4 Jun 2018 15:05:28 +1000 Subject: [PATCH] Lower threshold for invisible alpha checks in bot code --- qcsrc/server/bot/default/aim.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/bot/default/aim.qc b/qcsrc/server/bot/default/aim.qc index 5d74a8f06..383ead194 100644 --- a/qcsrc/server/bot/default/aim.qc +++ b/qcsrc/server/bot/default/aim.qc @@ -143,7 +143,7 @@ bool bot_shouldattack(entity this, entity targ) return false; if(targ.flags & FL_NOTARGET) return false; - if(targ.alpha <= 0.25 && targ.alpha != 0) + if(targ.alpha <= 0.1 && targ.alpha != 0) return false; // invisible via alpha if(MUTATOR_CALLHOOK(BotShouldAttack, this, targ)) -- 2.39.2