Fix single-letter messages not being sent

This commit is contained in:
LJ Sonic 2022-01-03 00:06:20 +01:00 committed by toaster
parent cf6dfecc6a
commit bc62dc8214

View file

@ -1059,7 +1059,7 @@ static void HU_sendChatMessage(void)
newmsg = msg+5+spc;
strlcpy(msg, newmsg, 255);
}
if (ci > 3) // don't send target+flags+empty message.
if (ci > 2) // don't send target+flags+empty message.
{
buf[0] = teamtalk ? -1 : target; // target
buf[1] = 0; // flags