Merge branch 'Edward850-chat-len-fix'

This commit is contained in:
Randy Heit 2014-12-23 21:34:23 -06:00
commit 7a3b701eb5
1 changed files with 4 additions and 0 deletions

View File

@ -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] == '/' &&