fixed not compiling without audio

This commit is contained in:
Zeno Rogue committed 2018-11-11 12:55:11 +01:00
1 parent a00e405681
commit 13e0f3d077
1 file changed
+2
+2
View File
@@ -964,6 +964,7 @@ void showBasicConfig() {
if(xuni == 'c') { vid.axes += 60 + (shiftmul > 0 ? 1 : -1); vid.axes %= 5; }
#if CAP_AUDIO
if(CAP_AUDIO && xuni == 'b') {
dialog::editNumber(musicvolume, 0, 128, 10, 60, XLAT("background music volume"), "");
dialog::reaction = [] () {
@@ -988,6 +989,7 @@ void showBasicConfig() {
dialog::bound_low(0);
dialog::bound_up(MIX_MAX_VOLUME);
}
#endif
if(CAP_TRANS && xuni == 'l')
pushScreen(selectLanguageScreen);