Read g_turrets_unit_*_target_select_missilebias too
authorterencehill <piuntn@gmail.com>
Fri, 12 Apr 2019 21:10:40 +0000 (23:10 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 12 Apr 2019 21:10:40 +0000 (23:10 +0200)
qcsrc/common/turrets/sv_turrets.qc

index 09eed0e..1d0ae11 100644 (file)
@@ -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"));