From: black Date: Sun, 29 May 2005 13:11:22 +0000 (+0000) Subject: Added back pr_checkextension. X-Git-Tag: xonotic-v0.1.0preview~4834 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=767229922d9d31b6006df7de1396c61f0d1451b8;p=xonotic%2Fdarkplaces.git Added back pr_checkextension. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5348 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index e72a0565..8ab691dd 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1946,6 +1946,7 @@ qboolean SV_VM_CB_LoadEdict(prvm_edict_t *ent) return true; } +cvar_t pr_checkextension = {CVAR_READONLY, "pr_checkextension", "1"}; cvar_t nomonsters = {0, "nomonsters", "0"}; cvar_t gamecfg = {0, "gamecfg", "0"}; cvar_t scratch1 = {0, "scratch1", "0"}; @@ -1972,6 +1973,7 @@ cvar_t cutscene = {0, "cutscene", "1"}; void SV_VM_Init(void) { + Cvar_RegisterVariable (&pr_checkextension); Cvar_RegisterVariable (&nomonsters); Cvar_RegisterVariable (&gamecfg); Cvar_RegisterVariable (&scratch1);