From 697abf6880e7571426b061efebe1a08f176dcb09 Mon Sep 17 00:00:00 2001 From: James R Date: Fri, 3 Jan 2020 15:25:10 -0800 Subject: [PATCH] Move the mini chat up with the input; don't show input when chat is open --- src/hu_stuff.c | 3 +++ src/st_stuff.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 772d1cd58..d5da234d5 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -1496,6 +1496,9 @@ static void HU_drawMiniChat(void) y = chaty - charheight*(msglines+1); + if (cv_alwaysdisplayinput.value) + y -= 20; + /*if (splitscreen) { y -= BASEVIDHEIGHT/2; diff --git a/src/st_stuff.c b/src/st_stuff.c index e0e014712..6fbf1dc6a 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -2689,7 +2689,7 @@ static void ST_overlayDrawer(void) if (!(netgame || multiplayer) || !hu_showscores) { - if (! modeattacking && cv_alwaysdisplayinput.value) + if (!( modeattacking || chat_on ) && cv_alwaysdisplayinput.value) ST_drawInput(); #ifdef HAVE_BLUA LUAh_GameHUD(stplyr);