From: MirceaKitsune Date: Fri, 15 Apr 2011 11:45:28 +0000 (+0300) Subject: Only do vore complaints if the player is holding down the fire button (fixes a small... X-Git-Url: http://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=commitdiff_plain;h=e993e33c972341e3d4c199813965b308a621801b Only do vore complaints if the player is holding down the fire button (fixes a small bug) --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index e5452e6a..d100122f 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -35,7 +35,7 @@ float Swallow_condition_check(entity prey) { if(teams_matter && prey.team == self.team && !cvar("g_vore_teamvore")) { - if(time > self.complain_vore) + if(time > self.complain_vore && self.BUTTON_ATCK) { play2(self, "misc/unavailable.wav"); sprint(self, "You cannot swallow your team mates\n"); @@ -46,7 +46,7 @@ float Swallow_condition_check(entity prey) if(self.stomach_load >= cvar("g_balance_vore_swallow_limit")) { - if(time > self.complain_vore) + if(time > self.complain_vore && self.BUTTON_ATCK) { play2(self, "misc/unavailable.wav"); sprint(self, strcat("You cannot swallow more than ^2", cvar_string("g_balance_vore_swallow_limit"), "^7 players at a time\n")); @@ -58,7 +58,7 @@ float Swallow_condition_check(entity prey) if(cvar("g_vore_biggergut")) if(prey.stomach_load > self.stomach_load) { - if(time > self.complain_vore) + if(time > self.complain_vore && self.BUTTON_ATCK) { play2(self, "misc/unavailable.wav"); sprint(self, "You cannot swallow someone with a bigger stomach than yours\n");