]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
from fixme to todo
authorMartin Taibr <taibr.martin@gmail.com>
Mon, 14 Aug 2017 17:01:39 +0000 (19:01 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Mon, 14 Aug 2017 17:01:39 +0000 (19:01 +0200)
qcsrc/common/mutators/mutator/dodging/sv_dodging.qc

index cf1a33949f091abc2a47ae9d67740bd619aa8286..fdaa89499cd2d8602f9aa2b5b41b22c3861a1f35 100644 (file)
@@ -1,5 +1,7 @@
 #include "sv_dodging.qh"
 
+// TODO the CSQC blocks in this sv_ file are currently not compiled but will be when dodging prediction gets enabled
+
 #define PHYS_DODGING                                           g_dodging
 #define PHYS_DODGING_DELAY                                     autocvar_sv_dodging_delay
 #define PHYS_DODGING_DISTANCE_THRESHOLD        autocvar_sv_dodging_wall_distance_threshold
@@ -29,7 +31,7 @@
 #define PHYS_DODGING_MAXSPEED                          STAT(DODGING_MAXSPEED, this)
 #endif
 
-#ifdef CSQC // FIXME this is an sv_ file, none of this will even be compiled
+#ifdef CSQC
        #define PHYS_DODGING_FRAMETIME                          (1 / (frametime <= 0 ? 60 : frametime))
        #define PHYS_DODGING_TIMEOUT(s)                         STAT(DODGING_TIMEOUT)
        #define PHYS_DODGING_PRESSED_KEYS(s)            (s).pressedkeys