fix for compiling w/o cdaudio support
This commit is contained in:
parent
da6c6b89df
commit
c608fe0e6e
2 changed files with 1 additions and 5 deletions
|
@ -292,7 +292,7 @@ global void PlaySectionMusic(PlaySectionType section)
|
|||
}
|
||||
} else if (PlaySections[i].Files && (CDMode == CDModeOff || CDMode == CDModeStopped)) {
|
||||
#else
|
||||
if (PlaySections[i].Files && (CDMode == CDModeOff || CDMode == CDModeStopped)) {
|
||||
if (PlaySections[i].Files) {
|
||||
#endif
|
||||
found = 0;
|
||||
numfiles = 0;
|
||||
|
|
|
@ -1127,10 +1127,6 @@ global int InitSound(void)
|
|||
DebugLevel0Fn("FIXME: must write non GLIB hash functions\n");
|
||||
#endif
|
||||
|
||||
if( TitleMusic && (CDMode == CDModeOff || CDMode == CDModeStopped) ) {
|
||||
PlayMusic(TitleMusic);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue