X-Git-Url: http://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=blobdiff_plain;f=data%2Fqcsrc%2Fserver%2Fbot%2Fhavocbot%2Fvore_ai.qc;fp=data%2Fqcsrc%2Fserver%2Fbot%2Fhavocbot%2Fvore_ai.qc;h=e5051955a455bba4cd7da7acc8e0be0dcb879ea5;hp=b55689049c1a2c8d5e254917361575d331fb86f1;hb=0797a6c4c20cf42a2449b0711cbf61c6494f1637;hpb=dcc1fbd584d2b21fdef8e9380b0ac664a3e8acf7 diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index b5568904..e5051955 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -199,7 +199,7 @@ void Vore_AI() if(!Stomach_HasLivePrey(self)) if not(cvar("g_balance_vore_digestion_limit") < 0 && self.health < cvar("g_balance_vore_digestion_vampire_stable")) - if not(consumables && self.health < min(min(g_pickup_healthsmall_max, g_pickup_healthmedium_max), min(g_pickup_healthlarge_max, g_pickup_healthmega_max))) + if not(consumables && self.health < max(max(g_pickup_healthsmall_max, g_pickup_healthmedium_max), max(g_pickup_healthlarge_max, g_pickup_healthmega_max))) self.BUTTON_REGURGITATE = TRUE; }