{\r
// ran when the fulldigest feature is enabled and prey stays inside the stomach after dying\r
\r
- if(e.fakepredator.classname == "player")\r
+ if(e.fakepredator.classname == "player" || e.predator.classname != "player")\r
return;\r
\r
// this entity is pretty much like e.predator but for dead prey, to avoid some conflicts\r
\r
// now, keep our dead prey inside the predator's stomach\r
e.movetype = MOVETYPE_FOLLOW;\r
+ e.takedamage = DAMAGE_NO;\r
+ e.solid = SOLID_NOT;\r
e.aiment = e.fakepredator;\r
+ // completely hide the dead body\r
e.alpha = -1;\r
+ setmodel(e, "");\r
}\r
\r
void Vore_DeadPrey_Detach(entity e)\r