X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=usounds.c;h=dce58e02cdedcd30a292ff6bd3062ce56d37c862;hb=bc82c5edb1fefc925642a5b19e4a96caa92f76e3;hp=6432335b6b8596628cc195609ce1742b9a8cb755;hpb=0278ebc80411a20fd23303156285e55ce8d2b0a5;p=xboard.git diff --git a/usounds.c b/usounds.c index 6432335..dce58e0 100644 --- a/usounds.c +++ b/usounds.c @@ -76,10 +76,10 @@ extern char *getenv(); #include "common.h" #include "frontend.h" - int PlaySoundFile (char *name) { + if(mute == 1) return 1; if (*name == NULLCHAR) { return 0; } else if (strcmp(name, "$") == 0) {