NScumm.Sky.Sound.CheckFxQueue C# (CSharp) Method

CheckFxQueue() public method

public CheckFxQueue ( ) : void
return void
        public void CheckFxQueue()
        {
            for (byte cnt = 0; cnt < MaxQueuedFx; cnt++)
            {
                if (SfxQueue[cnt].Count != 0)
                {
                    SfxQueue[cnt].Count--;
                    if (SfxQueue[cnt].Count == 0)
                        PlaySound(SfxQueue[cnt].FxNo, SfxQueue[cnt].Vol, SfxQueue[cnt].Chan);
                }
            }
        }