summaryrefslogtreecommitdiff
path: root/source/cl_ref.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-06-29 12:32:32 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-06-29 12:32:32 +0000
commite826e5f176f21cd18b3bbc22887a266835ada57c (patch)
treed25a84a84f9168b16a77fe4ed8b169c9611bbb02 /source/cl_ref.c
parent491f1c100e860c45a5d2aa358d58f777cd1cf895 (diff)
Added client and server side support for 32-bit solids.
New R1Q2 and Q2PRO minor protocol versions, 1905 and 1014. Use environment variables for game and server features negotiation. Relax restrictions on quake paths when searching inside pak files. Made OSS subsystem cvar names consistent with core sound system conventions. Misc latched cvar handling changes.
Diffstat (limited to 'source/cl_ref.c')
-rw-r--r--source/cl_ref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cl_ref.c b/source/cl_ref.c
index fe959bc..7c130b7 100644
--- a/source/cl_ref.c
+++ b/source/cl_ref.c
@@ -337,7 +337,7 @@ void CL_PumpEvents( void ) {
#endif
if( mode_changed & MODE_FULLSCREEN ) {
if( vid_fullscreen->integer ) {
- Cbuf_AddText( "set _vid_fullscreen $vid_fullscreen\n" );
+ Cvar_Set( "_vid_fullscreen", vid_fullscreen->string );
}
VID_ModeChanged();
} else {
@@ -387,7 +387,7 @@ void CL_InitRefresh( void ) {
vid_geometry = Cvar_Get( "vid_geometry", "640x480", CVAR_ARCHIVE );
vid_fullscreen = Cvar_Get( "vid_fullscreen", "0", CVAR_ARCHIVE );
_vid_fullscreen = Cvar_Get( "_vid_fullscreen", "1", CVAR_ARCHIVE );
- vid_modelist = Cvar_Get( "vid_modelist", "640x480 800x600 1024x768", CVAR_ARCHIVE );
+ vid_modelist = Cvar_Get( "vid_modelist", "640x480 800x600 1024x768", 0 );
if( vid_fullscreen->integer ) {
Cvar_Set( "_vid_fullscreen", vid_fullscreen->string );