From: Mario Date: Wed, 24 May 2017 10:38:36 +0000 (+1000) Subject: Whitelist all g_maplist_* cvars from the purity checks X-Git-Tag: xonotic-v0.8.5~2760 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3c35bbc0e3aa0117f322fec485290b79ea6e0227;p=xonotic%2Fxonotic-data.pk3dir.git Whitelist all g_maplist_* cvars from the purity checks --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 23bc7757d..f8206db04 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -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");