diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index 8847ae0f0..09b394c32 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -712,9 +712,9 @@ SFXBase* SFXManager::createSoundSource(SFXBuffer* buffer, positional = buffer->isPositional(); } -#ifdef ENABLE_SOUND SFXBase* sfx = NULL; +#ifdef ENABLE_SOUND if (UserConfigParams::m_enable_sound) { //assert( alIsBuffer(buffer->getBufferID()) ); crashes on server