From: MirceaKitsune Date: Sun, 27 Feb 2011 21:00:07 +0000 (+0200) Subject: Autodigest is not a feature for bots X-Git-Url: http://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=commitdiff_plain;h=c57df944f03551c2b7a20ae651c5b48c02d845dd Autodigest is not a feature for bots --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index b4a2126e..ae7a55f2 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -144,10 +144,12 @@ void Vore_AutoDigest(entity e) { // if the predator has the autodigest preference enabled, begin digesting new prey automatically - if not(e.cvar_cl_vore_autodigest) - return; if not(cvar("g_vore_digestion")) return; + if not(e.cvar_cl_vore_autodigest) + return; + if(clienttype(e) != CLIENTTYPE_REAL) + return; // this feature is only for players entity head; if(teams_matter)