SetCdMode doesn't do anything if CD support is not compiled.

This commit is contained in:
nehalmistry 2002-04-07 00:24:41 +00:00
parent c6b5acd451
commit bf75057793

View file

@ -1488,6 +1488,7 @@ local void GameOptions(void)
local void SetCdMode(Menuitem *mi)
{
#if defined(USE_SDLCD) || defined(USE_LIBCDA)
if (!strcmp(":off", CDMode)) {
// CDMode = ":random";
PlayMusic(":random");
@ -1504,6 +1505,7 @@ local void SetCdMode(Menuitem *mi)
#endif
CDMode = ":off";
}
#endif
}
/**