From: MirceaKitsune Date: Sat, 27 Aug 2011 13:51:14 +0000 (+0300) Subject: Don't lean dead players, which causes them to spin all over the place due to some... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=720e3e54c491484a8b019c9a82e0eed4c32e2812;p=voretournament%2Fvoretournament.git Don't lean dead players, which causes them to spin all over the place due to some bug. --- diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index 08beea92..1ff6d43b 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -2547,7 +2547,7 @@ void PlayerPreThink (void) self.fixangle = TRUE; } - if(!self.stat_eaten) + if(self.deadflag == DEAD_NO && !self.stat_eaten) // prevents bugs { // lean the player with damage and acceleration // credits go to divVerent for these maths :)