]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove old todo and duplicate declaration
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 11 Aug 2017 20:48:11 +0000 (22:48 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 11 Aug 2017 20:48:11 +0000 (22:48 +0200)
qcsrc/common/mutators/mutator/dodging/sv_dodging.qc

index 01e6f22b80383d8401948e98e593b0c8eb2aa0cf..c9cc42189c96f485fea38d448f437176c23c196c 100644 (file)
 
 bool autocvar_sv_dodging_sound;
 
-// set to 1 to indicate dodging has started.. reset by physics hook after dodge has been done..
-.float dodging_action;
-
-// the jump part of the dodge cannot be ramped
-.float dodging_single_action;
-
 #include <common/animdecide.qh>
 #include <common/physics/player.qh>
 
@@ -229,7 +223,7 @@ void PM_dodging(entity this)
 
        float velocity_difference = this.dodging_velocity_gain - new_velocity_gain;
 
-       // ramp up dodging speed by adding some velocity each frame.. TODO: do it! :D
+       // ramp up dodging speed by adding some velocity each frame..
        if (this.dodging_action == 1)
        {
                //disable jump key during dodge accel phase