hedgewars/uGame.pas
branch0.9.24
changeset 13597 1c45ce3ff296
parent 13044 aed4b25ff242
child 13646 007813b81f1b
equal deleted inserted replaced
13596:9f05872969dc 13597:1c45ce3ff296
    84     SoundTimerTicks:= 0;
    84     SoundTimerTicks:= 0;
    85     if cVolumeDelta <> 0 then
    85     if cVolumeDelta <> 0 then
    86         begin
    86         begin
    87         j:= Volume;
    87         j:= Volume;
    88         i:= ChangeVolume(cVolumeDelta);
    88         i:= ChangeVolume(cVolumeDelta);
    89         if isAudioMuted and (j<>i) then
    89         if (not cIsSoundEnabled) or (isAudioMuted and (j<>i)) then
    90             AddCaption(trmsg[sidMute], cWhiteColor, capgrpVolume)
    90             AddCaption(trmsg[sidMute], cWhiteColor, capgrpVolume)
    91         else if not isAudioMuted then
    91         else if not isAudioMuted then
    92             begin
    92             begin
    93             s:= ansistring(inttostr(i));
    93             s:= ansistring(inttostr(i));
    94             AddCaption(FormatA(trmsg[sidVolume], s), cWhiteColor, capgrpVolume)
    94             AddCaption(FormatA(trmsg[sidVolume], s), cWhiteColor, capgrpVolume)