From: MirceaKitsune Date: Wed, 29 Sep 2010 22:12:36 +0000 (+0300) Subject: Allow fall damage in situations where it should be allowed X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3aa43eefb5058ea5589dcc50d4730f6e86acc494;p=voretournament%2Fvoretournament.git Allow fall damage in situations where it should be allowed --- diff --git a/data/qcsrc/server/sv_main.qc b/data/qcsrc/server/sv_main.qc index 6c45f776..d43d849e 100644 --- a/data/qcsrc/server/sv_main.qc +++ b/data/qcsrc/server/sv_main.qc @@ -67,7 +67,7 @@ void CreatureFrame (void) self.dmg = 2; } // check for falling damage - if(!self.grabber.state && !g_ca && !(g_cts && !cvar("g_cts_selfdamage"))) + if(!(g_cts && !cvar("g_cts_selfdamage"))) { dm = vlen(self.oldvelocity) - vlen(self.velocity); // dm is now the velocity DECREASE. Velocity INCREASE should never cause a sound or any damage. if (self.deadflag)