# HG changeset patch
# User nemo
# Date 1314024979 14400
# Node ID fa58dea8a9ad08228b29d707237bef7695f7e778
# Parent  28a8e14a4b8d4d29f5df73e958a10723d3127a7f
Put it in the add as well

diff -r 28a8e14a4b8d -r fa58dea8a9ad hedgewars/uSound.pas
--- a/hedgewars/uSound.pas	Mon Aug 22 10:54:53 2011 -0400
+++ b/hedgewars/uSound.pas	Mon Aug 22 10:56:19 2011 -0400
@@ -290,6 +290,7 @@
 procedure AddVoice(snd: TSound; voicepack: PVoicepack);
 var i : LongInt;
 begin
+    if (not isSoundEnabled) or fastUntilLag then exit;
     i:= 0;
     while (i<8) and (VoiceList[i].snd <> sndNone) do inc(i);