Fixes compilation with current GCC. Also a safety improvement (if macro should

use param more than once), taniwha tells me.
This commit is contained in:
Ragnvald Maartmann-Moe IV 2004-03-21 04:59:02 +00:00
parent 476680b4e0
commit db1f68347b

View file

@ -116,8 +116,8 @@ I_CDAudio_Play (int track, qboolean looping)
return;
if (!cdValid) {
if (!CD_INDRIVE (cd_stat = SDL_CDStatus (cd_id)) ||
(!cd_id->numtracks))
cd_stat = SDL_CDStatus (cd_id);
if (!CD_INDRIVE (cd_stat) || (!cd_id->numtracks))
return;
cdValid = true;
}