Don't load EAX sound effects when EAX is disabled

This commit is contained in:
dhewg 2011-12-11 18:28:18 +01:00
parent 74acc03147
commit f6fa194044

View file

@ -1128,6 +1128,7 @@ void idSoundSystemLocal::EndLevelLoad( const char *mapstring ) {
}
soundCache->EndLevelLoad();
#if ID_OPENAL_EAX
idStr efxname( "efxs/" );
idStr mapname( mapstring );
@ -1142,6 +1143,7 @@ void idSoundSystemLocal::EndLevelLoad( const char *mapstring ) {
} else {
common->Printf("sound: missing %s\n", efxname.c_str() );
}
#endif
}
/*