mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
Make s_useOpenAL be CVAR_LATCH
After changing s_useOpenAL the sound needs to be restarted (snd_restart) for it to take affect.
This commit is contained in:
parent
45f8512f8e
commit
f3f29e9670
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ void S_Init( void )
|
|||
Cmd_AddCommand( "s_stop", S_StopAllSounds );
|
||||
Cmd_AddCommand( "s_info", S_SoundInfo );
|
||||
|
||||
cv = Cvar_Get( "s_useOpenAL", "1", CVAR_ARCHIVE );
|
||||
cv = Cvar_Get( "s_useOpenAL", "1", CVAR_ARCHIVE | CVAR_LATCH );
|
||||
if( cv->integer ) {
|
||||
//OpenAL
|
||||
started = S_AL_Init( &si );
|
||||
|
|
Loading…
Reference in a new issue