]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Allow fall damage in situations where it should be allowed
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 29 Sep 2010 22:12:36 +0000 (01:12 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 29 Sep 2010 22:12:36 +0000 (01:12 +0300)
data/qcsrc/server/sv_main.qc

index 6c45f77684d61a660a1cb73fb73d12f09402458e..d43d849ee32afc92bc3e6a5a2ec80188a98ad856 100644 (file)
@@ -67,7 +67,7 @@ void CreatureFrame (void)
                                self.dmg = 2;\r
                        }\r
                        // check for falling damage\r
-                       if(!self.grabber.state && !g_ca && !(g_cts && !cvar("g_cts_selfdamage")))\r
+                       if(!(g_cts && !cvar("g_cts_selfdamage")))\r
                        {\r
                                dm = vlen(self.oldvelocity) - vlen(self.velocity); // dm is now the velocity DECREASE. Velocity INCREASE should never cause a sound or any damage.\r
                                if (self.deadflag)\r