cd fix needed fo gameplay

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@292 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
stevenaaus 2010-08-24 01:28:40 +00:00
parent b9544e4934
commit 329243bdb6

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