]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Whitelist some item fields so there's less spam in overkill
authorMario <mario@smbclan.net>
Thu, 10 Dec 2015 22:42:33 +0000 (08:42 +1000)
committerMario <mario@smbclan.net>
Thu, 10 Dec 2015 22:42:33 +0000 (08:42 +1000)
qcsrc/lib/spawnfunc.qh

index 75f56a23d01fbaafb70140067e53088670b5748a..7a30916def11c40e296fa461198f8652224c99f8 100644 (file)
@@ -138,8 +138,10 @@ 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) \