cd fix needed fo gameplay

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@292 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
stevenaaus 2010-08-24 01:28:40 +00:00
parent a8de20a97d
commit 83a08ef79a
1 changed files with 3 additions and 1 deletions

View File

@ -437,8 +437,10 @@ void CDAudio_Update(void)
if (curstat != CD_PLAYING && curstat != CD_PAUSED)
{
endOfTrack = -1.0;
if (playLooping)
if (playLooping) {
playing = false;
CDAudio_Play(playTrack, true);
}
else
CDAudio_Next();
}