From e993e33c972341e3d4c199813965b308a621801b Mon Sep 17 00:00:00 2001
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Date: Fri, 15 Apr 2011 14:45:28 +0300
Subject: [PATCH] Only do vore complaints if the player is holding down the
 fire button (fixes a small bug)

---
 data/qcsrc/server/vore.qc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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");
-- 
2.39.5