mark s_alDriver CVAR_LATCH

This commit is contained in:
Ludwig Nussel 2009-05-08 09:13:03 +00:00
parent 9390750a8a
commit de19303320

View file

@ -1990,7 +1990,7 @@ qboolean S_AL_Init( soundInterface_t *si )
s_alRolloff = Cvar_Get( "s_alRolloff", "2", CVAR_CHEAT); s_alRolloff = Cvar_Get( "s_alRolloff", "2", CVAR_CHEAT);
s_alGraceDistance = Cvar_Get("s_alGraceDistance", "512", CVAR_CHEAT); s_alGraceDistance = Cvar_Get("s_alGraceDistance", "512", CVAR_CHEAT);
s_alDriver = Cvar_Get( "s_alDriver", ALDRIVER_DEFAULT, CVAR_ARCHIVE ); s_alDriver = Cvar_Get( "s_alDriver", ALDRIVER_DEFAULT, CVAR_ARCHIVE | CVAR_LATCH );
// Load QAL // Load QAL
if( !QAL_Init( s_alDriver->string ) ) if( !QAL_Init( s_alDriver->string ) )