From 233e48141e52c58fd436ba72c3991ad7e9780c8d Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 20 Aug 2011 23:28:36 +0000 Subject: [PATCH] quotes don't print at all if blank git-svn-id: https://svn.eduke32.com/eduke32@1989 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 8c47f55a7..772cd12df 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -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]);