]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Console: reduce verbosity in overkill
authorTimePath <andrew.hardaker1995@gmail.com>
Fri, 11 Dec 2015 07:31:17 +0000 (18:31 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Fri, 11 Dec 2015 07:33:19 +0000 (18:33 +1100)
qcsrc/common/mutators/mutator/overkill/overkill.qc
qcsrc/lib/spawnfunc.qh

index 05b6ddde34ae3bb9560259da179eca784ebe8d82..7c24046ecd552762d83e08166f300cbc4c9ceec0 100644 (file)
@@ -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;
index 7a30916def11c40e296fa461198f8652224c99f8..75f56a23d01fbaafb70140067e53088670b5748a 100644 (file)
@@ -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) \