]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_shared.c
Fixed a invalid use of the sizeof() operator. Thanks to OpenBSD's custom GCC for...
[xonotic/darkplaces.git] / cd_shared.c
index 0974921eff38ae69b51ab27c000d9cf74fb0f837..69c2df5263a407cadfa71d8b2fac81a4675d04ae 100644 (file)
@@ -382,8 +382,7 @@ static void CD_f (void)
 
        if (strcasecmp(command, "off") == 0)
        {
-               if (cdPlaying)
-                       CDAudio_Stop();
+               CDAudio_Stop();
                enabled = false;
                return;
        }