From: Mario Date: Sun, 24 May 2020 02:52:32 +0000 (+1000) Subject: Allow admins to change the announcer and CTF flag models without affecting purity X-Git-Tag: xonotic-v0.8.5~1034 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=36e219f2b361f4e59bc1b677811a4a8850725a4e;hp=b7873b3470e961ee95d5823de13a87a63e7e0f3b Allow admins to change the announcer and CTF flag models without affecting purity --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index bee939d9ac..8d1b58629c 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -338,6 +338,8 @@ void cvar_changes_init() BADCVAR("g_ctf_flag_glowtrails"); BADCVAR("g_ctf_dynamiclights"); BADCVAR("g_ctf_flag_pickup_verbosename"); + BADPRESUFFIX("g_ctf_flag_", "_model"); + BADPRESUFFIX("g_ctf_flag_", "_skin"); BADCVAR("g_domination_point_leadlimit"); BADCVAR("g_forced_respawn"); BADCVAR("g_freezetag_point_leadlimit"); @@ -358,6 +360,7 @@ void cvar_changes_init() BADCVAR("leadlimit_and_fraglimit"); BADCVAR("leadlimit_override"); BADCVAR("pausable"); + BADCVAR("sv_announcer"); BADCVAR("sv_checkforpacketsduringsleep"); BADCVAR("sv_damagetext"); BADCVAR("sv_db_saveasdump");