+ // don't allow a player inside a player inside another player :)\r
+ // prevent this by checking if such has happened, and taking the proper measures\r
+ // this code has a high priority and must not be stopped by any delay, so run it here\r
+ if(self.predator.predator.classname == "player")\r
+ {\r
+ entity target_predator, target_predator_predator, oldself;\r
+ target_predator = self.predator;\r
+ target_predator_predator = self.predator.predator;\r
+\r
+ Vore_Regurgitate(self);\r
+\r
+ // now steal our prey's prey if this probability applies\r
+ if(random() < cvar("g_balance_vore_swallow_stealprey"))\r
+ {\r
+ oldself = self;\r
+ self = target_predator_predator;\r
+ if(Swallow_condition_check(oldself))\r
+ if not(teams_matter && self.team == target_predator.team) // don't steal a team mate's prey\r
+ if not(teams_matter && self.team == oldself.team) // if the prey we would be stealing is a team mate, don't do it\r
+ Vore_Swallow(oldself);\r
+ self = oldself;\r
+ }\r
+ }\r
+\r
+ // apply delays and skip the vore system under some circumstances\r
+ if(time < game_starttime || (time < warmup && !inWarmupStage)) // don't allow vore before a round begins\r