From: TimePath Date: Fri, 11 Dec 2015 07:31:17 +0000 (+1100) Subject: Console: reduce verbosity in overkill X-Git-Tag: xonotic-v0.8.2~1513 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ded5a1b6006866920cbd9792b19cfbb7e636409c;p=xonotic%2Fxonotic-data.pk3dir.git Console: reduce verbosity in overkill --- diff --git a/qcsrc/common/mutators/mutator/overkill/overkill.qc b/qcsrc/common/mutators/mutator/overkill/overkill.qc index 05b6ddde3..7c24046ec 100644 --- a/qcsrc/common/mutators/mutator/overkill/overkill.qc +++ b/qcsrc/common/mutators/mutator/overkill/overkill.qc @@ -279,6 +279,7 @@ MUTATOR_HOOKFUNCTION(ok, OnEntityPreSpawn) wep.team = self.team; wep.respawntime = autocvar_g_overkill_superguns_respawn_time; wep.pickup_anyway = true; + wep.spawnfunc_checked = true; wep.think = self_spawnfunc_weapon_hmg; wep.nextthink = time + 0.1; return true; @@ -295,6 +296,7 @@ MUTATOR_HOOKFUNCTION(ok, OnEntityPreSpawn) wep.team = self.team; wep.respawntime = autocvar_g_overkill_superguns_respawn_time; wep.pickup_anyway = true; + wep.spawnfunc_checked = true; wep.think = self_spawnfunc_weapon_rpc; wep.nextthink = time + 0.1; return true; diff --git a/qcsrc/lib/spawnfunc.qh b/qcsrc/lib/spawnfunc.qh index 7a30916de..75f56a23d 100644 --- a/qcsrc/lib/spawnfunc.qh +++ b/qcsrc/lib/spawnfunc.qh @@ -138,10 +138,8 @@ noref bool require_spawnfunc_prefix; FIELD_SCALAR(fld, noise1) \ FIELD_SCALAR(fld, noise2) \ FIELD_SCALAR(fld, noise) \ - FIELD_SCALAR(fld, ok_item) \ FIELD_SCALAR(fld, phase) \ FIELD_SCALAR(fld, platmovetype) \ - FIELD_SCALAR(fld, pickup_anyway) \ FIELD_SCALAR(fld, race_place) \ FIELD_SCALAR(fld, radius) \ FIELD_SCALAR(fld, respawntimejitter) \