return TRUE;\r
}\r
\r
- setmodel(self, strcat("models/weapons/v_", self.owner.weaponname, ".md3"));\r
+ if(cvar("g_vore_neighborprey_distance") && (other.predator == self.owner.predator || other.fakepredator == self.owner.predator) && !(other.cvar_chase_active || other.classname == "observer"))\r
+ setmodel(self, strcat("models/weapons/v_", self.owner.weaponname, ".md3")); // show the weapon model of prey when in the same stomach as them and neighborprey is enabled\r
+ else if(self.owner.stat_eaten)\r
+ setmodel(self, ""); // hide the weapon model of prey\r
+ else\r
+ setmodel(self, strcat("models/weapons/v_", self.owner.weaponname, ".md3"));\r
return TRUE;\r
}\r
\r