From 10fc22f7a0916a4a5f9796ae42263fcd849cd57f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 25 Nov 2000 01:11:31 +0000 Subject: [PATCH] make r_drawviewmodel CVAR_ARCHIVE so it gets saved --- source/gl_rmisc.c | 2 +- source/r_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gl_rmisc.c b/source/gl_rmisc.c index c5dd2d7..9c06519 100644 --- a/source/gl_rmisc.c +++ b/source/gl_rmisc.c @@ -210,7 +210,7 @@ void R_Init_Cvars (void) { r_norefresh = Cvar_Get("r_norefresh", "0", CVAR_NONE, "None"); r_drawentities = Cvar_Get("r_drawentities", "1", CVAR_NONE, "None"); - r_drawviewmodel = Cvar_Get("r_drawviewmodel", "1", CVAR_NONE, "None"); + r_drawviewmodel = Cvar_Get("r_drawviewmodel", "1", CVAR_ARCHIVE, "None"); r_shadows = Cvar_Get("r_shadows", "0", CVAR_NONE, "None"); r_wateralpha = Cvar_Get("r_wateralpha", "1", CVAR_NONE, "None"); r_waterripple = Cvar_Get ("r_waterripple", "0", CVAR_NONE, "None"); diff --git a/source/r_main.c b/source/r_main.c index 8c49ee2..ae18f27 100644 --- a/source/r_main.c +++ b/source/r_main.c @@ -262,7 +262,7 @@ void R_Init_Cvars (void) r_clearcolor = Cvar_Get("r_clearcolor", "2", CVAR_NONE, "None"); r_waterwarp = Cvar_Get("r_waterwarp", "1", CVAR_NONE, "None"); r_drawentities = Cvar_Get("r_drawentities", "1", CVAR_NONE, "None"); - r_drawviewmodel = Cvar_Get("r_drawviewmodel", "1", CVAR_NONE, "None"); + r_drawviewmodel = Cvar_Get("r_drawviewmodel", "1", CVAR_ARCHIVE, "None"); r_aliasstats = Cvar_Get("r_polymodelstats", "0", CVAR_NONE, "None"); r_dspeeds = Cvar_Get("r_dspeeds", "0", CVAR_NONE, "None"); r_reportsurfout = Cvar_Get("r_reportsurfout", "0", CVAR_NONE, "None");