From: Mario Date: Mon, 16 Mar 2015 21:48:27 +0000 (+1100) Subject: Also require crouch to drop the nade down X-Git-Tag: xonotic-v0.8.1~97^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4d25ad0fe90c4f84bde656f0ef20fe96592684c8;p=xonotic%2Fxonotic-data.pk3dir.git Also require crouch to drop the nade down --- diff --git a/qcsrc/server/mutators/mutator_nades.qc b/qcsrc/server/mutators/mutator_nades.qc index ce6ee85cd..321d0f8e6 100644 --- a/qcsrc/server/mutators/mutator_nades.qc +++ b/qcsrc/server/mutators/mutator_nades.qc @@ -683,7 +683,7 @@ void toss_nade(entity e, vector _velocity, float _time) if (trace_startsolid) setorigin(_nade, e.origin); - if(self.v_angle.x >= 70 && self.v_angle.x <= 110) + if(self.v_angle.x >= 70 && self.v_angle.x <= 110 && self.BUTTON_CROUCH) _nade.velocity = '0 0 100'; else if(autocvar_g_nades_nade_newton_style == 1) _nade.velocity = e.velocity + _velocity;