From: MirceaKitsune Date: Sat, 9 Jul 2011 17:29:32 +0000 (+0300) Subject: Fix something else again X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f8c5eba45beab03d22949a4bc4a9ef0a7c748ed6;p=voretournament%2Fvoretournament.git Fix something else again --- 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