]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Whitelist a few spawnfunc fields for func_breakable
authorMario <mario@smbclan.net>
Thu, 1 Feb 2018 18:24:34 +0000 (04:24 +1000)
committerMario <mario@smbclan.net>
Thu, 1 Feb 2018 18:24:34 +0000 (04:24 +1000)
qcsrc/lib/spawnfunc.qh

index 884714e3596928e9ef334c5d0efd711d21e76cf4..09f430407ef8ea26ba38dcb577047f5cdea9bc52 100644 (file)
@@ -169,6 +169,8 @@ noref bool require_spawnfunc_prefix;
                FIELD_SCALAR(fld, cvarfilter) \
                FIELD_SCALAR(fld, debrisdamageforcescale) \
                FIELD_SCALAR(fld, debrisfadetime) \
+               FIELD_SCALAR(fld, debrismovetype) \
+               FIELD_SCALAR(fld, debrisskin) \
                FIELD_SCALAR(fld, debristimejitter) \
                FIELD_SCALAR(fld, debristime) \
                FIELD_SCALAR(fld, debris) \
@@ -253,6 +255,9 @@ noref bool require_spawnfunc_prefix;
                FIELD_VEC(fld, absmin) \
                FIELD_VEC(fld, angles) \
                FIELD_VEC(fld, avelocity) \
+               FIELD_VEC(fld, debrisavelocityjitter) \
+               FIELD_VEC(fld, debrisvelocity) \
+               FIELD_VEC(fld, debrisvelocityjitter) \
                FIELD_VEC(fld, color) \
                FIELD_VEC(fld, mangle) \
                FIELD_VEC(fld, maxs) \