oups
authornemo
Fri, 30 Nov 2012 22:23:26 -0500
changeset 8165 9527839ad58b
parent 8163 13c6d1feae99
child 8167 96635d815141
child 8168 645ee0e201a2
oups
hedgewars/uSound.pas
--- a/hedgewars/uSound.pas	Sat Dec 01 02:14:26 2012 +0100
+++ b/hedgewars/uSound.pas	Fri Nov 30 22:23:26 2012 -0500
@@ -441,7 +441,7 @@
     if (not isSoundEnabled) or fastUntilLag or ((LastVoice.snd <> sndNone) and (lastChan[LastVoice.snd] <> -1) and (Mix_Playing(lastChan[LastVoice.snd]) <> 0)) then
         exit;
     i:= 0;
-    while (i<8) and (VoiceList[i].snd = sndNone) do
+    while (i<7) and (VoiceList[i].snd = sndNone) do
         inc(i);
     
     if (VoiceList[i].snd <> sndNone) then