Fix console text bleeding

This commit is contained in:
SwitchKaze 2021-03-25 12:43:30 -05:00
parent 5f4e21ed3a
commit 6267abac8a
1 changed files with 2 additions and 0 deletions

View File

@ -1652,6 +1652,7 @@ static void CON_DrawHudlines(void)
{ {
charflags = (*p & 0x7f) << V_CHARCOLORSHIFT; charflags = (*p & 0x7f) << V_CHARCOLORSHIFT;
p++; p++;
c++;
} }
if (*p < HU_FONTSTART) if (*p < HU_FONTSTART)
;//charwidth = 4 * con_scalefactor; ;//charwidth = 4 * con_scalefactor;
@ -1774,6 +1775,7 @@ static void CON_DrawConsole(void)
{ {
charflags = (*p & 0x7f) << V_CHARCOLORSHIFT; charflags = (*p & 0x7f) << V_CHARCOLORSHIFT;
p++; p++;
c++;
} }
V_DrawCharacter(x, y, (INT32)(*p) | charflags | cv_constextsize.value | V_NOSCALESTART, true); V_DrawCharacter(x, y, (INT32)(*p) | charflags | cv_constextsize.value | V_NOSCALESTART, true);
} }