Fix a potential OGG issue when OpenAL library is not found.

This commit is contained in:
Thomas Green 2017-10-20 22:11:48 +01:00 committed by Daniel Gibson
parent daa0c2c1bf
commit f46c46864a

View file

@ -761,7 +761,10 @@ OGG_PauseCmd(void)
}
#ifdef USE_OPENAL
AL_UnqueueRawSamples();
if (sound_started == SS_OAL)
{
AL_UnqueueRawSamples();
}
#endif
}