mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue