From: Mario Date: Mon, 26 Jun 2017 02:44:38 +0000 (+1000) Subject: Add some Quake fields to the list to silence some obnoxious spawnfunc warnings X-Git-Tag: xonotic-v0.8.5~2692 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ae1ad3dbba811a32a9b481ce605c59c4167e415;p=xonotic%2Fxonotic-data.pk3dir.git Add some Quake fields to the list to silence some obnoxious spawnfunc warnings --- diff --git a/qcsrc/lib/spawnfunc.qh b/qcsrc/lib/spawnfunc.qh index e8aeaecae..c153fedbe 100644 --- a/qcsrc/lib/spawnfunc.qh +++ b/qcsrc/lib/spawnfunc.qh @@ -134,6 +134,7 @@ noref bool require_spawnfunc_prefix; FIELD_SCALAR(fld, loddistance1) \ FIELD_SCALAR(fld, lodmodel1) \ FIELD_SCALAR(fld, ltime) \ + FIELD_SCALAR(fld, map) \ FIELD_SCALAR(fld, mdl) \ FIELD_SCALAR(fld, message2) \ FIELD_SCALAR(fld, message) \ @@ -168,6 +169,7 @@ noref bool require_spawnfunc_prefix; FIELD_SCALAR(fld, spawnmob) \ FIELD_SCALAR(fld, speed) \ FIELD_SCALAR(fld, strength) \ + FIELD_SCALAR(fld, style) \ FIELD_SCALAR(fld, target2) \ FIELD_SCALAR(fld, target3) \ FIELD_SCALAR(fld, target4) \ @@ -188,6 +190,7 @@ noref bool require_spawnfunc_prefix; FIELD_VEC(fld, absmin) \ FIELD_VEC(fld, angles) \ FIELD_VEC(fld, avelocity) \ + FIELD_VEC(fld, color) \ FIELD_VEC(fld, maxs) \ FIELD_VEC(fld, maxs) \ FIELD_VEC(fld, mins) \