From f6fa19404460742dae7abeac55bb5c3dc34322c9 Mon Sep 17 00:00:00 2001 From: dhewg Date: Sun, 11 Dec 2011 18:28:18 +0100 Subject: [PATCH] Don't load EAX sound effects when EAX is disabled --- neo/sound/snd_system.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neo/sound/snd_system.cpp b/neo/sound/snd_system.cpp index 58f42f88..3779c521 100644 --- a/neo/sound/snd_system.cpp +++ b/neo/sound/snd_system.cpp @@ -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 } /*