diff --git a/nq/source/sv_progs.c b/nq/source/sv_progs.c index fe5d127d5..edec4b611 100644 --- a/nq/source/sv_progs.c +++ b/nq/source/sv_progs.c @@ -53,7 +53,7 @@ sv_fields_t sv_fields; cvar_t *r_skyname; cvar_t *sv_progs; -cvar_t *pr_checkextentions; +cvar_t *pr_checkextensions; cvar_t *nomonsters; cvar_t *gamecfg; @@ -340,7 +340,7 @@ SV_Progs_Init_Cvars (void) sv_progs = Cvar_Get ("sv_progs", "progs.dat", CVAR_ROM, NULL, "Allows selectable game progs if you have several " "of them in the gamedir"); - pr_checkextentions = Cvar_Get ("sv_progs", "1", CVAR_ROM, NULL, + pr_checkextensions = Cvar_Get ("pr_checkextensions", "1", CVAR_ROM, NULL, "indicate the presence of the " "checkextentions qc function"); diff --git a/qw/source/sv_progs.c b/qw/source/sv_progs.c index 081beb370..765b2b8bc 100644 --- a/qw/source/sv_progs.c +++ b/qw/source/sv_progs.c @@ -53,7 +53,7 @@ sv_fields_t sv_fields; progs_t sv_pr_state; cvar_t *r_skyname; cvar_t *sv_progs; -cvar_t *pr_checkextentions; +cvar_t *pr_checkextensions; cvar_t *sv_old_entity_free; func_t EndFrame; @@ -382,7 +382,7 @@ SV_Progs_Init_Cvars (void) sv_progs = Cvar_Get ("sv_progs", "qwprogs.dat", CVAR_NONE, NULL, "Allows selectable game progs if you have several " "of them in the gamedir"); - pr_checkextentions = Cvar_Get ("sv_progs", "1", CVAR_ROM, NULL, + pr_checkextensions = Cvar_Get ("pr_checkextensions", "1", CVAR_ROM, NULL, "indicate the presence of the " "checkextentions qc function"); sv_old_entity_free = Cvar_Get ("sv_old_entity_free", "0", CVAR_NONE, NULL,