From: Lyberta Date: Fri, 16 Feb 2018 09:19:47 +0000 (+0300) Subject: OK weapons: removing old stuff. X-Git-Tag: xonotic-v0.8.5~2119^2~23 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2361b0cb5229a8af78ce0b4afde56ed32d48e50a;p=xonotic%2Fxonotic-data.pk3dir.git OK weapons: removing old stuff. --- diff --git a/qcsrc/common/mutators/mutator/overkill/oknex.qc b/qcsrc/common/mutators/mutator/overkill/oknex.qc index c4326a7b6..a52ac30e1 100644 --- a/qcsrc/common/mutators/mutator/overkill/oknex.qc +++ b/qcsrc/common/mutators/mutator/overkill/oknex.qc @@ -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];