HUD: fix nametag position for P2 in 2P splitscreen

This commit is contained in:
James R 2023-10-03 21:51:35 -07:00
parent 35cb0e4c5c
commit 0019e74604

View file

@ -3453,7 +3453,7 @@ static void K_DrawNameTagForPlayer(fixed_t x, fixed_t y, player_t *p)
// Since there's no "V_DrawFixedFill", and I don't feel like making it,
// fuck it, we're gonna just V_NOSCALESTART hack it
if (cnum & 1)
if (r_splitscreen > 1 && cnum & 1)
{
x += (BASEVIDWIDTH/2) * FRACUNIT;
}