// Code that addresses the prey:\r
// --------------------------------\r
\r
- // fulldigest - detach dead prey if their predator died while they were inside\r
- if(self.fakepredator.classname == "player" && self.fakepredator.deadflag != DEAD_NO)\r
+ // fulldigest - detach dead prey if their predator died or got swallowed\r
+ if(self.fakepredator.classname == "player")\r
+ if(self.fakepredator.deadflag != DEAD_NO || self.fakepredator.predator.classname == "player")\r
Vore_DeadPrey_Detach(self);\r
\r
if(self.predator.classname != "player")\r