From 1d0d96c849dea6a204474dd8e8e8e86637b2ef66 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 6 Sep 2010 20:37:20 +0300 Subject: [PATCH] Fix comments and move check --- data/qcsrc/server/vore.qc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 81cfdf6a..8d59e2bb 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -227,12 +227,10 @@ void Vore_Teamheal() .float stomachkick_delay; void Vore_StomachKick() { - // allows prey to kick the predator's stomach and do some damage / attempt to escape, or bring the predator's digestion upon their self when there's no other option + // allows prey to kick the predator's stomach and do some damage / attempt to escape if(self.eater.classname != "player") return; - // kick the predator's stomach and do damage, or escape if we are lucky - if(self.BUTTON_ATCK) if(time > self.stomachkick_delay) { float damage; @@ -379,7 +377,8 @@ void Vore() if(teams_matter && self.team == self.eater.team) Vore_Teamheal(); - Vore_StomachKick(); + if(self.BUTTON_ATCK) + Vore_StomachKick(); Vore_CameraEffect_Apply(); } \ No newline at end of file -- 2.39.2