equal
deleted
inserted
replaced
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) |