]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Add another check to the digestion switch
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 4 Oct 2010 23:02:01 +0000 (02:02 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 4 Oct 2010 23:02:01 +0000 (02:02 +0300)
data/qcsrc/server/vore.qc

index bfd7daa3b3f65973509246c2d422176fd0a381de..92998bfb823d9b95169d00bdfc7852704f788d5a 100644 (file)
@@ -408,7 +408,7 @@ void Vore()
                        self.complain_vore = time + complain_delay_time;\r
                }\r
        }\r
-       if(!self.stomach_load)\r
+       if(!self.stomach_load || !cvar("g_vore_digestion"))\r
                self.digesting = FALSE;\r
 \r
        // predator wishes to regurgitate his prey\r