--- a/hedgewars/uSound.pas Sun Jan 24 00:02:57 2016 +0100
+++ b/hedgewars/uSound.pas Sun Jan 31 16:07:14 2016 +0300
@@ -290,10 +290,10 @@
exit(AskForVoicepack('Default'));
end;
- while (voicepacks[i].name <> name) and (voicepacks[i].name <> '') do
+ while (voicepacks[i].name <> name) and (voicepacks[i].name <> '') and (i < cMaxTeams) do
begin
inc(i);
- TryDo(i <= cMaxTeams, 'Engine bug: AskForVoicepack i > cMaxTeams', true)
+ //TryDo(i <= cMaxTeams, 'Engine bug: AskForVoicepack i > cMaxTeams', true)
end;
voicepacks[i].name:= name;