mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +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->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]);
|
if (cq) OSD_Printf(OSDTEXT_BLUE "%s\n",ScriptQuotes[q]);
|
||||||
else OSD_Printf("%s\n",ScriptQuotes[q]);
|
else OSD_Printf("%s\n",ScriptQuotes[q]);
|
||||||
|
|
Loading…
Reference in a new issue