[colobot] 94/390: Possible fix for #331

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 9ea0b374082b651c9147e609aa4c8e2b8a83966a
Author: krzys-h <krzys_h at interia.pl>
Date:   Sun Oct 19 14:21:55 2014 +0200

    Possible fix for #331
---
 src/sound/oalsound/alsound.cpp | 1 +
 1 file changed, 1 insertion(+)

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;
             }
         }
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list