From 59dc17daa3fa802182911d0bb63ca385e8bdbf1c Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 22 Oct 2016 12:01:39 +1000 Subject: [PATCH] Fix compile --- qcsrc/common/mutators/mutator/walljump/walljump.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mutators/mutator/walljump/walljump.qc b/qcsrc/common/mutators/mutator/walljump/walljump.qc index e12755ca7..96b81a561 100644 --- a/qcsrc/common/mutators/mutator/walljump/walljump.qc +++ b/qcsrc/common/mutators/mutator/walljump/walljump.qc @@ -46,7 +46,6 @@ MUTATOR_HOOKFUNCTION(walljump, PlayerJump) if(plane_normal != '0 0 0') { - STAT(LASTWJ, player) = time; float wj_force = PHYS_WALLJUMP_FORCE(player); float wj_xy_factor = PHYS_WALLJUMP_VELOCITY_XY_FACTOR(player); float wj_z_factor = PHYS_WALLJUMP_VELOCITY_Z_FACTOR(player); @@ -58,6 +57,7 @@ MUTATOR_HOOKFUNCTION(walljump, PlayerJump) if(PHYS_INPUT_BUTTON_CROUCH(player)) player.velocity_z *= -1; #ifdef SVQC + STAT(LASTWJ, player) = time; player.oldvelocity = player.velocity; Send_Effect(EFFECT_SMOKE_RING, trace_endpos, plane_normal, 5); PlayerSound(player, playersound_jump, CH_PLAYER, VOL_BASE, VOICETYPE_PLAYERSOUND); -- 2.39.2