]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Don't lean dead players, which causes them to spin all over the place due to some...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 27 Aug 2011 13:51:14 +0000 (16:51 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 27 Aug 2011 13:51:14 +0000 (16:51 +0300)
data/qcsrc/server/cl_client.qc

index 08beea925caf9fc661053ab32af50111212920a4..1ff6d43bf93f0d1f926f16c4932c60620b15d1fa 100644 (file)
@@ -2547,7 +2547,7 @@ void PlayerPreThink (void)
                        self.fixangle = TRUE;\r
                }\r
 \r
-               if(!self.stat_eaten)\r
+               if(self.deadflag == DEAD_NO && !self.stat_eaten)  // prevents bugs\r
                {\r
                        // lean the player with damage and acceleration\r
                        // credits go to divVerent for these maths :)\r