From: Martin Taibr Date: Fri, 11 Aug 2017 20:48:11 +0000 (+0200) Subject: remove old todo and duplicate declaration X-Git-Tag: xonotic-v0.8.5~2430^2~30 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4a5560dfeb5183e0239f2c1fdcebc5c58a5df702;p=xonotic%2Fxonotic-data.pk3dir.git remove old todo and duplicate declaration --- diff --git a/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc b/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc index 01e6f22b8..c9cc42189 100644 --- a/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc +++ b/qcsrc/common/mutators/mutator/dodging/sv_dodging.qc @@ -43,12 +43,6 @@ 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 #include @@ -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