X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fmutator_dodging.qc;fp=qcsrc%2Fserver%2Fmutators%2Fmutator_dodging.qc;h=674954efdc189fee26fc8ce8ac0767f578527a34;hb=4addeeaa4a26b9482367dcb140a8909b7c2884d8;hp=1d6dd911eb7f958fad79b957c120e06575433530;hpb=ce0e9fc6d8f48efc4f497f43e313eb2361c0b2ce;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/mutator_dodging.qc b/qcsrc/server/mutators/mutator_dodging.qc index 1d6dd911e..674954efd 100644 --- a/qcsrc/server/mutators/mutator_dodging.qc +++ b/qcsrc/server/mutators/mutator_dodging.qc @@ -16,17 +16,11 @@ // and to ramp up the dodge acceleration in the physics hook. .float last_dodging_time; -// set to 1 to indicate dodging has started.. reset by physics hook after dodge has been done.. -.float dodging_action; - // This is the velocity gain to be added over the ramp time. // It will decrease from frame to frame during dodging_action = 1 // until it's 0. .float dodging_velocity_gain; -// the jump part of the dodge cannot be ramped -.float dodging_single_action; - MUTATOR_HOOKFUNCTION(dodging_GetCvars) { GetCvars_handleFloat(get_cvars_s, get_cvars_f, cvar_cl_dodging_timeout, "cl_dodging_timeout"); return 0;