- allow the automap HUD to use the VGA font.
This commit is contained in:
parent
85a762f294
commit
9e096c62fd
8 changed files with 136 additions and 81 deletions
|
|
@ -265,6 +265,10 @@ void DFrameBuffer::DrawTextCommon(FFont *font, int normalcolor, double x, double
|
|||
int kerning;
|
||||
FTexture *pic;
|
||||
|
||||
// Workaround until this can be automated.
|
||||
if (font == NewSmallFont && normalcolor == CR_UNTRANSLATED)
|
||||
normalcolor = C_GetDefaultFontColor();
|
||||
|
||||
if (parms.celly == 0) parms.celly = font->GetHeight() + 1;
|
||||
parms.celly *= parms.scaley;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue