From: Mario Date: Sun, 11 Aug 2019 09:05:29 +0000 (+1000) Subject: Fix the force_zscale cvar on blaster affecting horizontal push force X-Git-Tag: xonotic-v0.8.5~1408 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=27365a8d0b2ec5b04885806521bb4df680a78812;p=xonotic%2Fxonotic-data.pk3dir.git Fix the force_zscale cvar on blaster affecting horizontal push force --- diff --git a/qcsrc/server/g_damage.qc b/qcsrc/server/g_damage.qc index 7599dfd5c..1688f506c 100644 --- a/qcsrc/server/g_damage.qc +++ b/qcsrc/server/g_damage.qc @@ -950,7 +950,7 @@ float RadiusDamageForSource (entity inflictor, vector inflictororigin, vector in hitloc = nearest; if(deathtype & WEP_BLASTER.m_id) - force *= WEP_CVAR_BOTH(blaster, !(deathtype & HITTYPE_SECONDARY), force_zscale); + force.z *= WEP_CVAR_BOTH(blaster, !(deathtype & HITTYPE_SECONDARY), force_zscale); if(targ != directhitentity) {