From: Mario Date: Thu, 1 Feb 2018 18:24:34 +0000 (+1000) Subject: Whitelist a few spawnfunc fields for func_breakable X-Git-Tag: xonotic-v0.8.5~2356 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=89a670ad489ecbc582788fdf65308195faaa5c57;p=xonotic%2Fxonotic-data.pk3dir.git Whitelist a few spawnfunc fields for func_breakable --- diff --git a/qcsrc/lib/spawnfunc.qh b/qcsrc/lib/spawnfunc.qh index 884714e35..09f430407 100644 --- a/qcsrc/lib/spawnfunc.qh +++ b/qcsrc/lib/spawnfunc.qh @@ -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) \