fixed a variable declaration I forgot to move when moving some other code
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 8 Oct 2003 00:59:57 +0000 (00:59 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 8 Oct 2003 00:59:57 +0000 (00:59 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3549 d7cf8633-e32d-0410-b094-e92efae38249

cd_win.c

index 4cd345b..52bcf13 100644 (file)
--- a/cd_win.c
+++ b/cd_win.c
@@ -418,6 +418,8 @@ void CDAudio_Update(void)
 
 int CDAudio_Init(void)
 {
+       int n;
+
        if (cls.state == ca_dedicated)
                return -1;
 
@@ -439,7 +441,6 @@ int CDAudio_Startup(void)
        DWORD   dwReturn;
        MCI_OPEN_PARMS  mciOpenParms;
        MCI_SET_PARMS   mciSetParms;
-       int                             n;
 
        mciOpenParms.lpstrDeviceType = "cdaudio";
        if ((dwReturn = mciSendCommand(0, MCI_OPEN, MCI_OPEN_TYPE | MCI_OPEN_SHAREABLE, (DWORD) (LPVOID) &mciOpenParms)))