From: Mario Date: Wed, 17 Dec 2014 17:10:53 +0000 (+1100) Subject: Remove some unused stuff X-Git-Tag: xonotic-v0.8.0~70^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=be09f8e8377d90d8020d320ab9bf66453ddea5c4;p=xonotic%2Fxonotic-data.pk3dir.git Remove some unused stuff --- diff --git a/mutators.cfg b/mutators.cfg index e8221b4f0..07e276f4b 100644 --- a/mutators.cfg +++ b/mutators.cfg @@ -37,12 +37,10 @@ set g_instagib_speed_highspeed 1.5 "speed-multiplier that applies while you carr // overkill // ========== set g_overkill 0 "enable overkill" -set g_overkill_superguns_builtin 0 set g_overkill_100a_anyway 1 set g_overkill_100h_anyway 1 set g_overkill_powerups_replace 1 -set g_overkill_superguns_onemag 1 set g_overkill_superguns_respawn_time 20 set g_overkill_ammo_charge 1 diff --git a/qcsrc/server/mutators/mutator_overkill.qc b/qcsrc/server/mutators/mutator_overkill.qc index 8beb5cb15..bfa9324f1 100644 --- a/qcsrc/server/mutators/mutator_overkill.qc +++ b/qcsrc/server/mutators/mutator_overkill.qc @@ -34,26 +34,6 @@ float ok_CheckWeaponCharge(entity ent, float wep) return (ent.ammo_charge[wep] >= cvar(sprintf("g_overkill_ammo_decharge_%s", wepent.netname))); } -void start_hmg() -{ - self.classname = "weapon_hmg"; - self.respawntime = autocvar_g_overkill_superguns_respawn_time; - self.ok_item = TRUE; - setmodel(self, "models/weapons/g_ok_hmg.md3"); - self.pickup_anyway = TRUE; - spawnfunc_weapon_hmg(); -} - -void start_rpc() -{ - self.classname = "weapon_rpc"; - self.respawntime = autocvar_g_overkill_superguns_respawn_time; - self.ok_item = TRUE; - self.pickup_anyway = TRUE; - setmodel(self, "models/weapons/g_ok_rl.md3"); - spawnfunc_weapon_rpc(); -} - MUTATOR_HOOKFUNCTION(ok_PlayerDamage_Calculate) { if(IS_PLAYER(frag_attacker) && IS_PLAYER(frag_target))