#242 reproducing pain sound when pressing ( ç ) and ( ´ )

This commit is contained in:
drian
2021-04-12 09:36:18 +02:00
parent 456dc060f4
commit aba300ab5f
+1 -1
View File
@@ -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))
{