summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/snd_openal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/snd_openal.c b/src/client/snd_openal.c
index 549286c3..05ef218f 100644
--- a/src/client/snd_openal.c
+++ b/src/client/snd_openal.c
@@ -2540,7 +2540,9 @@ qboolean S_AL_Init( soundInterface_t *si )
if( !QAL_Init( s_alDriver->string ) )
{
Com_Printf( "Failed to load library: \"%s\".\n", s_alDriver->string );
- return qfalse;
+ if( !Q_stricmp( s_alDriver->string, ALDRIVER_DEFAULT ) || !QAL_Init( ALDRIVER_DEFAULT ) ) {
+ return qfalse;
+ }
}
device = s_alDevice->string;