From 0cd670dbc049e8e389053b2e8462c784e9d7c9c7 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Wed, 4 May 2011 14:24:15 +0300 Subject: [PATCH 1/1] Fix and improve prey animations --- data/qcsrc/server/cl_player.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/qcsrc/server/cl_player.qc b/data/qcsrc/server/cl_player.qc index 23e350cc..148170f7 100644 --- a/data/qcsrc/server/cl_player.qc +++ b/data/qcsrc/server/cl_player.qc @@ -311,10 +311,10 @@ void player_anim (void) { if(self.stat_eaten) { - if(self.BUTTON_ATCK) - setanim(self, self.anim_duckjump, FALSE, TRUE, FALSE); // looks good for players attempting to attack the stomach + if(self.BUTTON_ATCK || self.predator.digesting) + setanim(self, self.anim_pain2, FALSE, TRUE, FALSE); // looks good for prey attacking the stomach or being digested else - setanim(self, self.anim_jump, FALSE, TRUE, FALSE); // looks good for players idling inside the stomach + setanim(self, self.anim_jump, FALSE, TRUE, FALSE); // looks good for prey idling inside the stomach } else if (!(self.flags & FL_ONGROUND)) { -- 2.39.2