Allow admins to change the announcer and CTF flag models without affecting purity
authorMario <mario.mario@y7mail.com>
Sun, 24 May 2020 02:52:32 +0000 (12:52 +1000)
committerMario <mario.mario@y7mail.com>
Sun, 24 May 2020 02:52:32 +0000 (12:52 +1000)
qcsrc/server/g_world.qc

index bee939d..8d1b586 100644 (file)
@@ -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");