]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a bug that caused grabber recoil to not work
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 17 Nov 2011 10:19:54 +0000 (12:19 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 17 Nov 2011 10:19:54 +0000 (12:19 +0200)
data/qcsrc/server/cl_weaponsystem.qc

index 61763b7139bc00b0687edf25bae74b4ad4a94eaf..f2c779d3eeb1bdfd28e661aef45c93258d66425b 100644 (file)
@@ -223,7 +223,7 @@ void W_SetupShot_Dir_ProjectileSize(entity ent, vector s_forward, vector mi, vec
        ent.dphitcontentsmask = oldsolid; // restore solid type (generally SOLID_SLIDEBOX)\r
 \r
        if (!g_norecoil)\r
-               ent.punchangle_x = recoil * -1;\r
+               ent.punchangle_x += recoil * -1;\r
 \r
        if (snd != "")\r
        {\r