From dd7380f569877637f58c624656cf7b6daa750f45 Mon Sep 17 00:00:00 2001 From: Deve Date: Sun, 19 Aug 2018 00:19:31 +0200 Subject: [PATCH] Fixed server_only compilation --- src/audio/sfx_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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