fixed error if compiling w/o cd

This commit is contained in:
nehalmistry 2002-06-18 22:22:16 +00:00
parent 440f311117
commit 4fa70dbb9d

View file

@ -1416,9 +1416,11 @@ local void InitSoundOptions(Menuitem *mi __attribute__((unused)))
} else {
menu->items[11].flags = 0;
}
#if defined(USE_LIBCDA) || defined(USE_SDLCD)
if (strcmp(":off", CDMode) && strcmp(":stopped", CDMode)) {
menu->items[11].flags = -1;
}
#endif
if (PlayingMusic != 1 || SoundFildes == -1) {
menu->items[11].d.gem.state = MI_GSTATE_UNCHECKED;
} else {