Fixed: #895 BUILD BREAK: Nel Broken again with listener_xaudio2.cpp syntax error

hg/feature/sound
kervala 15 years ago
parent 4aaf3863de
commit c92db19b1d

@ -75,8 +75,9 @@ CListenerXAudio2::~CListenerXAudio2()
if (soundDriver) soundDriver->removeListener(this);
}
#define NLSOUND_XAUDIO2_RELEASE_EX(pointer, command) if (_ListenerOk) nlassert(pointer) \
#define NLSOUND_XAUDIO2_RELEASE_EX(pointer, command) if (_ListenerOk) nlassert(pointer); \
if (pointer) { command; pointer = NULL; }
void CListenerXAudio2::release()
{
NLSOUND_XAUDIO2_RELEASE_EX(_FilterVoice, _FilterVoice->DestroyVoice())

Loading…
Cancel
Save