From f8c5eba45beab03d22949a4bc4a9ef0a7c748ed6 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 9 Jul 2011 20:29:32 +0300 Subject: [PATCH] Fix something else again --- data/qcsrc/server/bot/havocbot/vore_ai.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index f50d1fc7..69b84245 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -134,7 +134,8 @@ void Vore_AI() if(prey.items & IT_INVINCIBLE) // avoid eating bots that have the Invincible powerup fear += cvar("bot_ai_vore_fear") * self.bot_vorefear; fear += self.stomach_load; // the bigger our stomach, the less we want to put someone else in there - fear *= (prey.scale / self.scale); // predators fear larger prey and are courageous toward smaller prey + if(cvar("g_healthsize")) + fear *= (prey.scale / self.scale); // predators fear larger prey and are courageous toward smaller prey if(prey.stomach_load) fear *= prey.stomach_load; // predators fear prey that have a large stomach -- 2.39.2