From: MirceaKitsune Date: Wed, 4 May 2011 11:24:15 +0000 (+0300) Subject: Fix and improve prey animations X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0cd670dbc049e8e389053b2e8462c784e9d7c9c7;p=voretournament%2Fvoretournament.git Fix and improve prey animations --- 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)) {