From 26c463829c60e871818d8e3347c9d6aa3e7274c8 Mon Sep 17 00:00:00 2001 From: thilo Date: Sat, 19 Aug 2006 11:02:20 +0000 Subject: - Add device enumeration support on windows and make "Generic Software" new default device as that one seems to work more reliably on many platforms. - Add shfolder.lib library to dependencies in MSVC project files - update documentation for OpenAL changes. git-svn-id: svn://svn.icculus.org/quake3/trunk@853 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/cvar.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'code/qcommon/cvar.c') diff --git a/code/qcommon/cvar.c b/code/qcommon/cvar.c index d9f9e71..e812a83 100644 --- a/code/qcommon/cvar.c +++ b/code/qcommon/cvar.c @@ -451,6 +451,15 @@ void Cvar_Reset( const char *var_name ) { Cvar_Set2( var_name, NULL, qfalse ); } +/* +============ +Cvar_ForceReset +============ +*/ +void Cvar_ForceReset(const char *var_name) +{ + Cvar_Set2(var_name, NULL, qtrue); +} /* ============ -- cgit v1.2.3