logic fail frees sounds too early

This commit is contained in:
alzeih
2010-04-11 03:37:07 +12:00
committed by Chris Forbes
parent 40e9d8cbf2
commit fcb54bb181

View File

@@ -218,7 +218,7 @@ namespace OpenRA
{
int state;
Al.alGetSourcei(key, Al.AL_SOURCE_STATE, out state);
if (state != Al.AL_PLAYING || state != Al.AL_PAUSED)
if (state != Al.AL_PLAYING && state != Al.AL_PAUSED)
freeSources.Add(key);
}