oop didnt mean to move this
This commit is contained in:
1 parent
08c751a33d
commit
b47ee7b402
1 file changed
+1
-2
+1
-2
@@ -1939,6 +1939,7 @@ UINT8 *V_GetStringColormap(INT32 colorflags)
|
||||
void V_DrawCharacter(INT32 x, INT32 y, INT32 c, boolean lowercaseallowed)
|
||||
{
|
||||
INT32 w, flags;
|
||||
const UINT8 *colormap = V_GetStringColormap(c);
|
||||
|
||||
flags = c & ~(V_CHARCOLORMASK | V_PARAMMASK);
|
||||
c &= 0x7f;
|
||||
@@ -1954,8 +1955,6 @@ void V_DrawCharacter(INT32 x, INT32 y, INT32 c, boolean lowercaseallowed)
|
||||
if (x + w > vid.width)
|
||||
return;
|
||||
|
||||
const UINT8 *colormap = V_GetStringColormap(c);
|
||||
|
||||
if (colormap != NULL)
|
||||
V_DrawMappedPatch(x, y, flags, hu_font[c], colormap);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user