SetCdMode doesn't do anything if CD support is not compiled.
This commit is contained in:
parent
c6b5acd451
commit
bf75057793
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue