"Fix console text bleeding "

read https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1434
This commit is contained in:
Alug committed 2025-01-19 17:31:27 +01:00
1 parent 8abe40cc81
commit 60d81037fd
1 file changed
+6
+6
View File
@@ -1466,7 +1466,10 @@ static void CON_DrawHudlines(void)
{
charflags = (*p & 0x7f) << V_CHARCOLORSHIFT;
p++;
c++;
}
if (c >= con_width)
break;
if (*p < HU_FONTSTART)
;//charwidth = 4 * con_scalefactor;
else
@@ -1546,7 +1549,10 @@ static void CON_DrawConsole(void)
{
charflags = (*p & 0x7f) << V_CHARCOLORSHIFT;
p++;
c++;
}
if (c >= con_width)
break;
V_DrawCharacter(x, y, (INT32)(*p) | charflags | cv_constextsize.value | V_NOSCALESTART, !cv_allcaps.value);
}
}