From abf072901507d0f6565714f2cf9255460d59056c Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Wed, 15 Aug 2007 12:26:56 +0000 Subject: [PATCH] no more wv loaded spam --- src/engine/client/snd.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/engine/client/snd.cpp b/src/engine/client/snd.cpp index 7b9efaa22..2fefd6f2b 100644 --- a/src/engine/client/snd.cpp +++ b/src/engine/client/snd.cpp @@ -347,9 +347,14 @@ int snd_load_wv(const char *filename) file = NULL; if(id >= 0) - dbg_msg("sound/wv", "loaded %s", filename); + { + if(config.debug) + dbg_msg("sound/wv", "loaded %s", filename); + } else + { dbg_msg("sound/wv", "failed to load %s", filename); + } return id; }