mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 18:21:08 +00:00
Don't load EAX sound effects when EAX is disabled
This commit is contained in:
parent
74acc03147
commit
f6fa194044
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue