Fix HUD messages not being replay / party-aware

This commit is contained in:
AJ Martinez 2024-01-19 20:40:16 -07:00
parent 8f320b6ac2
commit 4bbbe82fdc

View file

@ -5780,7 +5780,7 @@ void K_TickMessages()
static void K_DrawMessageFeed(void) static void K_DrawMessageFeed(void)
{ {
int i; int i;
for (i = 0; i <= splitscreen; i++) for (i = 0; i <= r_splitscreen; i++)
{ {
messagestate_t state = messagestates[i]; messagestate_t state = messagestates[i];
@ -5808,7 +5808,7 @@ static void K_DrawMessageFeed(void)
UINT8 x = 160; UINT8 x = 160;
UINT8 y = 10; UINT8 y = 10;
SINT8 shift = 0; SINT8 shift = 0;
if (splitscreen >= 2) if (r_splitscreen >= 2)
{ {
text.font(Draw::Font::kThin); text.font(Draw::Font::kThin);
shift = -2; shift = -2;
@ -5822,7 +5822,7 @@ static void K_DrawMessageFeed(void)
if (i >= 2) if (i >= 2)
y += BASEVIDHEIGHT / 2; y += BASEVIDHEIGHT / 2;
} }
else if (splitscreen >= 1) else if (r_splitscreen >= 1)
{ {
y = 5; y = 5;