X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cd_shared.c;fp=cd_shared.c;h=88551e0a43ee6fa7d16844dd7ae3e13f3d0c30ba;hp=0f2f6fd1bd513d70566d09f15f071ce4db11b7da;hb=c6fe51c93d8d1216aa6aa924937fdf768e6304cc;hpb=f2b9b8d7f630a2503b35efc8027c2e0930b7b476 diff --git a/cd_shared.c b/cd_shared.c index 0f2f6fd1..88551e0a 100644 --- a/cd_shared.c +++ b/cd_shared.c @@ -417,12 +417,12 @@ static void CDAudio_SetVolume (float newvol) return; // If the CD has been muted - if (newvol == 0.0f) + if (newvol <= 0.0f) CDAudio_Pause (); else { // If the CD has been unmuted - if (cdvolume == 0.0f) + if (cdvolume <= 0.0f) CDAudio_Resume (); if (faketrack != -1)