Do not output empty conversation replies to console

https://forum.zdoom.org/viewtopic.php?t=58992
This commit is contained in:
alexey.lysiuk 2018-01-05 16:26:31 +02:00
parent 4b044e30d7
commit df0cddb35d
1 changed files with 1 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ static void HandleReply(player_t *player, bool isconsole, int nodenum, int reply
player->SetLogNumber(reply->LogNumber);
}
if (replyText != NULL && isconsole)
if (nullptr != replyText && '\0' != replyText[0] && isconsole)
{
TerminalResponse(replyText);
}