From: terencehill Date: Fri, 12 Apr 2019 21:10:40 +0000 (+0200) Subject: Read g_turrets_unit_*_target_select_missilebias too X-Git-Tag: xonotic-v0.8.5~1546^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=329838c764b7b703e04d40ce4e5c3cbb0acd2b16;p=xonotic%2Fxonotic-data.pk3dir.git Read g_turrets_unit_*_target_select_missilebias too --- diff --git a/qcsrc/common/turrets/sv_turrets.qc b/qcsrc/common/turrets/sv_turrets.qc index 09eed0ea5..1d0ae1112 100644 --- a/qcsrc/common/turrets/sv_turrets.qc +++ b/qcsrc/common/turrets/sv_turrets.qc @@ -419,6 +419,7 @@ void load_unit_settings(entity ent, bool is_reload) ent.target_select_rangebias = cvar(strcat(sbase,"_target_select_rangebias")); ent.target_select_samebias = cvar(strcat(sbase,"_target_select_samebias")); ent.target_select_anglebias = cvar(strcat(sbase,"_target_select_anglebias")); + ent.target_select_missilebias = cvar(strcat(sbase,"_target_select_missilebias")); ent.target_select_playerbias = cvar(strcat(sbase,"_target_select_playerbias")); //ent.target_select_fov = cvar(cvar_gets(sbase,"_target_select_fov"));