Include some more turret fields in the spawnfunc whitelist, reduces spam on some...
authorMario <mario@smbclan.net>
Sun, 25 Aug 2019 13:24:14 +0000 (23:24 +1000)
committerMario <mario@smbclan.net>
Sun, 25 Aug 2019 13:24:38 +0000 (23:24 +1000)
qcsrc/lib/spawnfunc.qh

index 244665c..bcc1f2c 100644 (file)
@@ -202,8 +202,12 @@ noref bool require_spawnfunc_prefix;
                FIELD_SCALAR(fld, target_range) \
                FIELD_SCALAR(fld, team) \
                FIELD_SCALAR(fld, trigger_reverse) \
+               FIELD_SCALAR(fld, turret_scale_aim) \
+               FIELD_SCALAR(fld, turret_scale_ammo) \
+               FIELD_SCALAR(fld, turret_scale_damage) \
                FIELD_SCALAR(fld, turret_scale_health) \
                FIELD_SCALAR(fld, turret_scale_range) \
+               FIELD_SCALAR(fld, turret_scale_refire) \
                FIELD_SCALAR(fld, turret_scale_respawn) \
                FIELD_SCALAR(fld, volume) \
                FIELD_SCALAR(fld, wait) \