From 6551e487a054a2507c0bb48c2efc3e73713e1e9a Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sun, 14 Jun 2020 18:38:07 +1000 Subject: [PATCH] Allow mappers to set r_water and server admins to add mapinfo ACLs --- qcsrc/common/mapinfo.qh | 2 +- qcsrc/server/g_world.qc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/mapinfo.qh b/qcsrc/common/mapinfo.qh index 4d598e88c..9b4dfa257 100644 --- a/qcsrc/common/mapinfo.qh +++ b/qcsrc/common/mapinfo.qh @@ -680,4 +680,4 @@ void MapInfo_ClearTemps(); // call this when done with mapinfo for this frame void MapInfo_Shutdown(); // call this in the shutdown handler #define MAPINFO_SETTEMP_ACL_USER cvar_string("g_mapinfo_settemp_acl") -#define MAPINFO_SETTEMP_ACL_SYSTEM "-g_mapinfo_* -rcon_* -_* -g_ban* -r_water +*" +#define MAPINFO_SETTEMP_ACL_SYSTEM "-g_mapinfo_* -rcon_* -_* -g_ban* +*" diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 0e9f7fa66..26cead4cc 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -294,6 +294,7 @@ void cvar_changes_init() BADCVAR("nextmap"); BADCVAR("teamplay"); BADCVAR("timelimit"); + BADCVAR("g_mapinfo_settemp_acl"); BADCVAR("g_mapinfo_ignore_warnings"); BADCVAR("g_maplist_ignore_sizes"); BADCVAR("g_maplist_sizes_count_bots"); -- 2.39.2