]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 09eed0ea597c7690a1b10b468d814749bcc60549..1d0ae11128253b32f6c346ff1c79597e10af7a42 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"));