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 7599dfd..1688f50 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)
                                        {