mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
quotes don't print at all if blank
git-svn-id: https://svn.eduke32.com/eduke32@1989 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a34f007fe2
commit
233e48141e
1 changed files with 2 additions and 1 deletions
|
@ -1878,7 +1878,8 @@ void P_DoQuote(int32_t q, DukePlayer_t *p)
|
|||
|
||||
if (p->ftq != q)
|
||||
{
|
||||
if (p == g_player[screenpeek].ps)
|
||||
if (p == g_player[screenpeek].ps
|
||||
&& Bstrcmp(ScriptQuotes[q],"")) // avoid printing blank quotes
|
||||
{
|
||||
if (cq) OSD_Printf(OSDTEXT_BLUE "%s\n",ScriptQuotes[q]);
|
||||
else OSD_Printf("%s\n",ScriptQuotes[q]);
|
||||
|
|
Loading…
Reference in a new issue