diff --git a/src/sdltiles.cpp b/src/sdltiles.cpp index bea483bd987b6..6b94edc46b07a 100644 --- a/src/sdltiles.cpp +++ b/src/sdltiles.cpp @@ -3722,10 +3722,12 @@ void catacurses::init_interface() color_loader().load( windowsPalette ); init_colors(); +#if defined(SDL_SOUND) // initialize sound set if( sound_init_success ) { load_soundset(); } +#endif // SOUND font = std::make_unique( renderer, format, fl.fontwidth, fl.fontheight, windowsPalette, fl.typeface, fl.fontsize, fl.fontblending );