]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed OK Vortex reload.
authorLyberta <lyberta@lyberta.net>
Fri, 17 Mar 2017 16:33:39 +0000 (19:33 +0300)
committerLyberta <lyberta@lyberta.net>
Fri, 17 Mar 2017 16:33:39 +0000 (19:33 +0300)
qcsrc/common/mutators/mutator/overkill/okvortex.qc

index 53a893460716898084d2e0efe763bbbcaa4ad385..5724e78ef6c1c3dc41554ca6f137411c3844bc6d 100644 (file)
@@ -140,7 +140,7 @@ METHOD(OverkillVortex, wr_think, void(entity thiswep, entity actor, .entity weap
        if(weaponslot(weaponentity) == 0)
                actor.okvortex_chargepool_ammo = actor.(weaponentity).okvortex_chargepool_ammo;
 
-       if(autocvar_g_balance_vortex_reload_ammo && actor.(weaponentity).clip_load < min(WEP_CVAR_PRI(okvortex, ammo), WEP_CVAR_SEC(okvortex, ammo))) { // forced reload
+       if(autocvar_g_balance_okvortex_reload_ammo && actor.(weaponentity).clip_load < min(WEP_CVAR_PRI(okvortex, ammo), WEP_CVAR_SEC(okvortex, ammo))) { // forced reload
                thiswep.wr_reload(thiswep, actor, weaponentity);
        } else
        {