]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
this is used in SVQC only and SVQC accesses the SC() directly through PHYS_DODGING_TI...
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 11 Aug 2017 20:44:02 +0000 (22:44 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 11 Aug 2017 20:44:02 +0000 (22:44 +0200)
also, removing it doesn't break anything, prove me wrong

qcsrc/common/mutators/mutator/dodging/sv_dodging.qc

index 688cab68fb9a542bb2c1d42d79ffa20e5d34afe8..01e6f22b80383d8401948e98e593b0c8eb2aa0cf 100644 (file)
@@ -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);