diff --git a/neo/framework/BuildDefines.h b/neo/framework/BuildDefines.h index 4b8ed7fa..0944810a 100644 --- a/neo/framework/BuildDefines.h +++ b/neo/framework/BuildDefines.h @@ -96,14 +96,6 @@ If you have questions concerning this license or the applicable additional terms # endif #endif -#ifndef ID_OPENAL -# if !defined( ID_DEDICATED ) -# define ID_OPENAL 1 -# else -# define ID_OPENAL 0 -# endif -#endif - // async network /* diff --git a/neo/sound/snd_system.cpp b/neo/sound/snd_system.cpp index 8395e61c..42f9c3a3 100644 --- a/neo/sound/snd_system.cpp +++ b/neo/sound/snd_system.cpp @@ -69,7 +69,7 @@ idCVar idSoundSystemLocal::s_reverbFeedback( "s_reverbFeedback", "0.333", CVAR_S idCVar idSoundSystemLocal::s_enviroSuitVolumeScale( "s_enviroSuitVolumeScale", "0.9", CVAR_SOUND | CVAR_FLOAT, "" ); idCVar idSoundSystemLocal::s_skipHelltimeFX( "s_skipHelltimeFX", "0", CVAR_SOUND | CVAR_BOOL, "" ); -#if ID_OPENAL +#if !defined(ID_DEDICATED) idCVar idSoundSystemLocal::s_libOpenAL( "s_libOpenAL", "openal32.dll", CVAR_SOUND | CVAR_ARCHIVE, "Deprecated, kept for compability" ); idCVar idSoundSystemLocal::s_useOpenAL( "s_useOpenAL", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ARCHIVE, "Deprecated, kept for compability" ); idCVar idSoundSystemLocal::s_useEAXReverb( "s_useEAXReverb", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ARCHIVE, "use EFX reverb" ); @@ -1339,7 +1339,7 @@ idSoundSystemLocal::IsEFXAvailable =============== */ int idSoundSystemLocal::IsEFXAvailable( void ) { -#if !ID_OPENAL +#if defined(ID_DEDICATED) return -1; #else return EFXAvailable;