mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Merge branch 'Edward850-chat-len-fix'
This commit is contained in:
commit
7a3b701eb5
1 changed files with 4 additions and 0 deletions
|
@ -343,6 +343,10 @@ static void CT_ClearChatMessage ()
|
|||
|
||||
static void ShoveChatStr (const char *str, BYTE who)
|
||||
{
|
||||
// Don't send empty messages
|
||||
if (str == NULL || str[0] == '\0')
|
||||
return;
|
||||
|
||||
FString substBuff;
|
||||
|
||||
if (str[0] == '/' &&
|
||||
|
|
Loading…
Reference in a new issue