mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +00:00
Do not output empty conversation replies to console
https://forum.zdoom.org/viewtopic.php?t=58992
This commit is contained in:
parent
4b044e30d7
commit
df0cddb35d
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ static void HandleReply(player_t *player, bool isconsole, int nodenum, int reply
|
||||||
player->SetLogNumber(reply->LogNumber);
|
player->SetLogNumber(reply->LogNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (replyText != NULL && isconsole)
|
if (nullptr != replyText && '\0' != replyText[0] && isconsole)
|
||||||
{
|
{
|
||||||
TerminalResponse(replyText);
|
TerminalResponse(replyText);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue