SDL CD optimizations

This commit is contained in:
nehalmistry 2002-04-11 18:59:40 +00:00
parent b75fe7be7f
commit 2f27639b34

View file

@ -1827,8 +1827,6 @@ local void SetCdPower(Menuitem *mi)
/// Start Playing CD
if (!strcmp(":off", CDMode) || !strcmp(":stopped", CDMode)) {
PlayMusic(":random");
if (SDL_CDStatus(CDRom) <= 1)
SoundOptionsMenuItems[17].d.gem.state = MI_GSTATE_UNCHECKED;
} else {
/// Stop Playing CD
SDL_CDStop(CDRom);