]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
remove one unneeded cdPlaying check
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 May 2009 14:46:06 +0000 (14:46 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 May 2009 14:46:06 +0000 (14:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8960 d7cf8633-e32d-0410-b094-e92efae38249

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;
        }