self.stomach_load = 0; // start from zero\r
FOR_EACH_PLAYER(e)\r
{\r
- if(e.predator == self && e.classname == "player")\r
+ if(e.predator == self)\r
{\r
prey_mass = cvar("g_balance_vore_load_prey_mass");\r
if(cvar("g_healthsize"))\r
}\r
}\r
\r
+ // set the predator's stomach load and capacity\r
+ Vore_StomachLoad_Apply();\r
+\r
// apply delays and skip the vore system under some circumstances\r
if(!cvar("g_vore")) // the vore system is disabled\r
{\r
entity prey;\r
prey = Swallow_player_check();\r
\r
- // set the predator's stomach load and capacity\r
- Vore_StomachLoad_Apply();\r
-\r
// attempt to swallow our new prey if we pressed the attack button, and there's any in range\r
self.stat_canswallow = 0;\r
if(Swallow_condition_check(prey))\r
}\r
if(cvar("g_balance_vore_load_pred_speedcap") && vlen(self.predator.velocity) >= cvar("g_balance_vore_load_pred_speedcap") / (self.predator.stomach_load / self.predator.stomach_maxload)) // predator's going too fast, gets sick and throws up\r
{\r
+dprint(strcat(ftos(cvar("g_balance_vore_load_pred_speedcap") / (self.predator.stomach_load / self.predator.stomach_maxload)), " --------\n"));\r
Vore_Regurgitate(self);\r
return;\r
}\r