From: Martin Taibr Date: Fri, 11 Aug 2017 20:44:02 +0000 (+0200) Subject: this is used in SVQC only and SVQC accesses the SC() directly through PHYS_DODGING_TI... X-Git-Tag: xonotic-v0.8.5~2430^2~31 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ade796dc9107273865b1ede6d5fd048e86f6947f;p=xonotic%2Fxonotic-data.pk3dir.git 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 --- 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);