From 9ea0b374082b651c9147e609aa4c8e2b8a83966a Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sun, 19 Oct 2014 14:21:55 +0200 Subject: Possible fix for #331 --- src/sound/oalsound/alsound.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sound') diff --git a/src/sound/oalsound/alsound.cpp b/src/sound/oalsound/alsound.cpp index 72cb557..960faac 100644 --- a/src/sound/oalsound/alsound.cpp +++ b/src/sound/oalsound/alsound.cpp @@ -297,6 +297,7 @@ bool ALSound::SearchFreeBuffer(Sound sound, int &channel, bool &bAlreadyLoaded) } delete chn; GetLogger()->Debug("Could not open additional channel to play sound!\n"); + break; } } } -- cgit v1.2.3-1-g7c22