From: MirceaKitsune Date: Sat, 9 Jul 2011 17:19:53 +0000 (+0300) Subject: Fix something X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=441a8b129a6fda96106316d7b9a5c937462b34cd;p=voretournament%2Fvoretournament.git Fix something --- diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index 767e9cb8..f50d1fc7 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -135,7 +135,8 @@ void Vore_AI() 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 - fear *= prey.stomach_load; // predators fear prey that have a large stomach + if(prey.stomach_load) + fear *= prey.stomach_load; // predators fear prey that have a large stomach // when a bot is being swallowed, he will try to swallow the enemy back in defense, forgetting about fear if(self.swallow_progress_prey)