From ade796dc9107273865b1ede6d5fd048e86f6947f Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Fri, 11 Aug 2017 22:44:02 +0200 Subject: [PATCH] this is used in SVQC only and SVQC accesses the SC() directly through PHYS_DODGING_TIMEOUT so this is not used also, removing it doesn't break anything, prove me wrong --- qcsrc/common/mutators/mutator/dodging/sv_dodging.qc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc b/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc index 688cab68f..01e6f22b8 100644 --- a/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc +++ b/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc @@ -300,13 +300,6 @@ MUTATOR_HOOKFUNCTION(dodging, PlayerPhysics) REPLICATE(cvar_cl_dodging_timeout, float, "cl_dodging_timeout"); -MUTATOR_HOOKFUNCTION(dodging, PlayerPreThink) -{ - entity player = M_ARGV(0, entity); - - STAT(DODGING_TIMEOUT, player) = CS(player).cvar_cl_dodging_timeout; -} - MUTATOR_HOOKFUNCTION(dodging, GetPressedKeys) { entity player = M_ARGV(0, entity); -- 2.39.2