]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
OK weapons: removing old stuff.
authorLyberta <lyberta@lyberta.net>
Fri, 16 Feb 2018 09:19:47 +0000 (12:19 +0300)
committerLyberta <lyberta@lyberta.net>
Fri, 16 Feb 2018 09:19:47 +0000 (12:19 +0300)
qcsrc/common/mutators/mutator/overkill/oknex.qc

index c4326a7b693a32e1702331d45630271513cc1cf9..a52ac30e14b21455fc1fc1c60611ab49d895dda2 100644 (file)
@@ -327,10 +327,6 @@ METHOD(OverkillNex, wr_checkammo2, bool(entity thiswep, entity actor, .entity we
 METHOD(OverkillNex, wr_resetplayer, void(entity thiswep, entity actor))
 {
        if (WEP_CVAR(oknex, charge)) {
-               if (WEP_CVAR_SEC(oknex, chargepool)) {
-                       actor.oknex_chargepool_ammo = 1;
-               }
-               actor.oknex_charge = WEP_CVAR(oknex, charge_start);
                for(int slot = 0; slot < MAX_WEAPONSLOTS; ++slot)
                {
                        .entity weaponentity = weaponentities[slot];