]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix the force_zscale cvar on blaster affecting horizontal push force
authorMario <mario@smbclan.net>
Sun, 11 Aug 2019 09:05:29 +0000 (19:05 +1000)
committerMario <mario@smbclan.net>
Sun, 11 Aug 2019 09:05:29 +0000 (19:05 +1000)
qcsrc/server/g_damage.qc

index 7599dfd5cb567fbe70251a0934b2dd45bb0d61cd..1688f506c7206baed30e40234ae234048e7b653c 100644 (file)
@@ -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)
                                        {