mirror of https://github.com/ZDoom/gzdoom-gles.git
Merge branch 'Edward850-chat-len-fix'
This commit is contained in:
commit
7a3b701eb5
|
@ -343,6 +343,10 @@ static void CT_ClearChatMessage ()
|
||||||
|
|
||||||
static void ShoveChatStr (const char *str, BYTE who)
|
static void ShoveChatStr (const char *str, BYTE who)
|
||||||
{
|
{
|
||||||
|
// Don't send empty messages
|
||||||
|
if (str == NULL || str[0] == '\0')
|
||||||
|
return;
|
||||||
|
|
||||||
FString substBuff;
|
FString substBuff;
|
||||||
|
|
||||||
if (str[0] == '/' &&
|
if (str[0] == '/' &&
|
||||||
|
|
Loading…
Reference in New Issue