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();
|
positional = buffer->isPositional();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_SOUND
|
|
||||||
SFXBase* sfx = NULL;
|
SFXBase* sfx = NULL;
|
||||||
|
|
||||||
|
#ifdef ENABLE_SOUND
|
||||||
if (UserConfigParams::m_enable_sound)
|
if (UserConfigParams::m_enable_sound)
|
||||||
{
|
{
|
||||||
//assert( alIsBuffer(buffer->getBufferID()) ); crashes on server
|
//assert( alIsBuffer(buffer->getBufferID()) ); crashes on server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user