From aba300ab5f9d1fc7d198e6080d664464fc9d312f Mon Sep 17 00:00:00 2001 From: drian Date: Mon, 12 Apr 2021 09:36:18 +0200 Subject: [PATCH] =?UTF-8?q?#242=20reproducing=20pain=20sound=20when=20pres?= =?UTF-8?q?sing=20(=20=C3=A7=20)=20and=20(=20=C2=B4=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/src/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/console.cpp b/source/src/console.cpp index 302bc909..4915fdf6 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -625,7 +625,7 @@ bool textinputbuffer::say(const char *c) { string txt; copystring(txt, c); - if(filterunrenderables(txt)) audiomgr.playsound(S_PAIN1, SP_LOW); + filterunrenderables(txt); int buflen = (int)strlen(buf), txtlen = (int)strlen(txt); if(txtlen && buflen < maxlen() && buflen + txtlen < (int)sizeof(buf)) {