]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Whitelist all g_maplist_* cvars from the purity checks
authorMario <mario@smbclan.net>
Wed, 24 May 2017 10:38:36 +0000 (20:38 +1000)
committerMario <mario@smbclan.net>
Wed, 24 May 2017 10:38:36 +0000 (20:38 +1000)
qcsrc/server/g_world.qc

index 23bc7757df46549daf3978fad8b81a1009d1eb02..f8206db04b4a35c40bfb40b7b76e583d35ed4aa5 100644 (file)
@@ -176,7 +176,6 @@ void cvar_changes_init()
                BADPREFIX("cvar_check_");
                BADCVAR("gamecfg");
                BADCVAR("g_configversion");
-               BADCVAR("g_maplist_index");
                BADCVAR("halflifebsp");
                BADCVAR("sv_mapformat_is_quake2");
                BADCVAR("sv_mapformat_is_quake3");
@@ -334,7 +333,6 @@ void cvar_changes_init()
                BADCVAR("g_invasion_point_limit");
                BADCVAR("g_jump_grunt");
                BADCVAR("g_keyhunt_point_leadlimit");
-               BADCVAR("g_maplist_selectrandom");
                BADCVAR("g_nexball_goalleadlimit");
                BADCVAR("g_new_toys_use_pickupsound");
                BADCVAR("g_physics_predictall");
@@ -359,7 +357,7 @@ void cvar_changes_init()
                BADPREFIX("gameversion_");
                BADPREFIX("g_chat_");
                BADPREFIX("g_ctf_captimerecord_");
-               BADPREFIX("g_maplist_votable_");
+               BADPREFIX("g_maplist_");
                BADPREFIX("g_mod_");
                BADPREFIX("g_respawn_");
                BADPREFIX("net_");
@@ -408,13 +406,6 @@ void cvar_changes_init()
                BADCVAR("g_keyhunt_teams_override");
                BADCVAR("g_lms_lives_override");
                BADCVAR("g_maplist");
-               BADCVAR("g_maplist_check_waypoints");
-               BADCVAR("g_maplist_mostrecent_count");
-               BADCVAR("g_maplist_shuffle");
-               BADCVAR("g_maplist_votable");
-               BADCVAR("g_maplist_votable_abstain");
-               BADCVAR("g_maplist_votable_nodetail");
-               BADCVAR("g_maplist_votable_suggestions");
                BADCVAR("g_maxplayers");
                BADCVAR("g_mirrordamage");
                BADCVAR("g_nexball_goallimit");