]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
You are defenseless in the stomach if you can't kick, so allow leaving. 0.4 has been...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 4 Oct 2010 23:52:42 +0000 (02:52 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 4 Oct 2010 23:52:42 +0000 (02:52 +0300)
data/qcsrc/server/vore.qc

index 92998bfb823d9b95169d00bdfc7852704f788d5a..592284562cca0be1cbba34e8c0f3d063263b7a2b 100644 (file)
@@ -76,6 +76,8 @@ float Vore_CanLeave()
 {\r
        if(self.predator.classname == "player")\r
        {\r
+               if(!cvar("g_vore_kick")) // you are defenseless in the stomach if you can't kick, so allow leaving\r
+                       return TRUE;\r
                if(teams_matter && self.team == self.predator.team)\r
                        return TRUE;\r
                if(g_rpg && cvar("g_rpg_canleave"))\r