Index: client/audio.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/audio.c,v retrieving revision 1.1 diff -u -r1.1 audio.c --- client/audio.c 2002/04/22 20:06:18 1.1 +++ client/audio.c 2002/04/23 08:20:33 @@ -44,6 +44,7 @@ static struct audio_plugin plugins[MAX_NUM_PLUGINS]; static int num_plugins_used = 0; static int selected_plugin = -1; +static bool audio_off = FALSE; /************************************************************************** Add a plugin. @@ -126,8 +127,10 @@ } filename = datafilename(spec_name); if (filename == NULL) { - freelog(LOG_FATAL, _("Cannot find audio spec-file %s"), spec_name); - exit(EXIT_FAILURE); + freelog(LOG_ERROR, _("Cannot find audio spec-file %s"), spec_name); + freelog(LOG_ERROR, _("To get sound you need to download a sound pack!")); + audio_off = TRUE; + return; } if (!section_file_load(tagfile, filename)) { freelog(LOG_FATAL, _("Could not load audio spec-file: %s"), filename); @@ -174,7 +177,7 @@ char *soundfile; char *fullpath; - if (!tag || strcmp(tag, "-") == 0) { + if (audio_off || !tag || strcmp(tag, "-") == 0) { return FALSE; }