X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_world.qc;h=30a63ba7d44b027fb2e58c160142d900ba000820;hp=18ddcdae85bc66c778c0217dacba93b2d3c08b4e;hb=23702e369ee30e55af21f87d52cb15a84e7fd5ee;hpb=6d6766f9d1415802f84f9c812e8b461023246ab3 diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 18ddcdae85..30a63ba7d4 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -235,6 +235,7 @@ void cvar_changes_init() k = bufstr_get(h, i); #define BADPREFIX(p) if(substring(k, 0, strlen(p)) == p) continue +#define BADPRESUFFIX(p,s) if(substring(k, 0, strlen(p)) == p && substring(k, -strlen(s), -1) == s) continue #define BADCVAR(p) if(k == p) continue // internal BADPREFIX("csqc_"); @@ -414,6 +415,7 @@ void cvar_changes_init() BADCVAR("g_nexball_goallimit"); BADCVAR("g_runematch_point_limit"); BADCVAR("g_start_delay"); + BADCVAR("g_weapon_stay"); BADPRESUFFIX("g_", "_weapon_stay"); BADCVAR("hostname"); BADCVAR("log_file"); BADCVAR("maxplayers");