"Fix console text bleeding "

read https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1434
This commit is contained in:
Alug committed 2025-01-17 14:22:56 +01:00
1 parent 0f7c91e894
commit c7425a02ac
1 file changed
+6
+6
View File
@@ -1474,7 +1474,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
@@ -1554,7 +1557,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);
}
}