mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-20 09:11:01 +00:00
Move the mini chat up with the input; don't show input when chat is open
This commit is contained in:
parent
5e92530989
commit
697abf6880
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue