--- freeciv/client/audio.c Sat May 25 08:29:45 2002 +++ freeciv-new/client/audio.c Fri May 31 19:14:25 2002 @@ -107,6 +107,7 @@ assert(num_plugins_used == 1); selected_plugin = 0; +#ifdef ENABLE_SOUND #ifdef ESD audio_esd_init(); #endif @@ -116,6 +117,7 @@ #ifdef WINMM audio_winmm_init(); #endif +#endif } /************************************************************************** @@ -124,6 +126,7 @@ void audio_real_init(const char *const spec_name, const char *const prefered_plugin_name) { +#ifdef ENABLE_SOUND char *filename, *file_capstr; char us_capstr[] = "+soundspec"; @@ -177,6 +180,10 @@ freelog(LOG_NORMAL, "SDL_mixer: http://www.libsdl.org/" "projects/SDL_mixer/index.html"); } +#else + tagfile = NULL; + return; +#endif } /**************************************************************************