mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
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:
parent
476680b4e0
commit
db1f68347b
1 changed files with 2 additions and 2 deletions
|
@ -116,8 +116,8 @@ I_CDAudio_Play (int track, qboolean looping)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!cdValid) {
|
if (!cdValid) {
|
||||||
if (!CD_INDRIVE (cd_stat = SDL_CDStatus (cd_id)) ||
|
cd_stat = SDL_CDStatus (cd_id);
|
||||||
(!cd_id->numtracks))
|
if (!CD_INDRIVE (cd_stat) || (!cd_id->numtracks))
|
||||||
return;
|
return;
|
||||||
cdValid = true;
|
cdValid = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue