diff -r 6e8b807bda4b -r ba39a1d396c0 hedgewars/uGame.pas --- a/hedgewars/uGame.pas Sun Jun 10 18:56:51 2018 +0200 +++ b/hedgewars/uGame.pas Sun Jun 10 19:12:26 2018 +0200 @@ -93,6 +93,18 @@ s:= ansistring(inttostr(i)); AddCaption(FormatA(trmsg[sidVolume], s), cWhiteColor, capgrpVolume) end + end + else if cMuteToggle then + begin + MuteAudio; + if isAudioMuted then + AddCaption(trmsg[sidMute], cWhiteColor, capgrpVolume) + else + begin + s:= ansistring(inttostr(GetVolumePercent())); + AddCaption(FormatA(trmsg[sidVolume], s), cWhiteColor, capgrpVolume); + end; + cMuteToggle:= false; end; end; PlayNextVoice;