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:
hendricks266 2011-08-20 23:28:36 +00:00
parent a34f007fe2
commit 233e48141e

View file

@ -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]);