+void Vore_AutoDigest(entity e)\r
+{\r
+ // if the predator has the autodigest preference enabled, begin digesting new prey automatically\r
+\r
+ if not(e.cvar_cl_vore_autodigest)\r
+ return;\r
+ if not(cvar("g_vore_digestion"))\r
+ return;\r
+\r
+ entity head;\r
+ if(teams_matter)\r
+ {\r
+ FOR_EACH_PLAYER(head)\r
+ {\r
+ // never begin automatic digestion if we've swallowed a team mate\r
+ if(head.team == e.team)\r
+ return;\r
+ }\r
+ }\r
+\r
+ e.digesting = TRUE;\r
+}\r
+\r