hedgewars/uGame.pas
branch0.9.24
changeset 13592 1c45ce3ff296
parent 13039 aed4b25ff242
child 13641 007813b81f1b
--- a/hedgewars/uGame.pas	Tue Jul 17 12:55:07 2018 +0200
+++ b/hedgewars/uGame.pas	Mon Jul 16 23:27:15 2018 +0200
@@ -86,7 +86,7 @@
         begin
         j:= Volume;
         i:= ChangeVolume(cVolumeDelta);
-        if isAudioMuted and (j<>i) then
+        if (not cIsSoundEnabled) or (isAudioMuted and (j<>i)) then
             AddCaption(trmsg[sidMute], cWhiteColor, capgrpVolume)
         else if not isAudioMuted then
             begin