Fixed server_only compilation
This commit is contained in:
parent
3fe2340628
commit
dd7380f569
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user