author | nemo |
Mon, 22 Aug 2011 10:56:19 -0400 | |
changeset 5653 | fa58dea8a9ad |
parent 5652 | 28a8e14a4b8d |
child 5654 | 1cb68f420aa6 |
child 5655 | 44c2d19f79e2 |
--- 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);