Fixed server_only compilation

This commit is contained in:
Deve 2018-08-19 00:19:31 +02:00
parent 3fe2340628
commit dd7380f569

View File

@ -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