From 89a670ad489ecbc582788fdf65308195faaa5c57 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 2 Feb 2018 04:24:34 +1000 Subject: [PATCH] Whitelist a few spawnfunc fields for func_breakable --- qcsrc/lib/spawnfunc.qh | 5 +++++ 1 file changed, 5 insertions(+) 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) \ -- 2.39.2