fix for compiling w/o cdaudio support

This commit is contained in:
nehalmistry 2003-04-14 15:48:30 +00:00
parent da6c6b89df
commit c608fe0e6e
2 changed files with 1 additions and 5 deletions

View file

@ -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;

View file

@ -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;
}