Skip to content

Commit

Permalink
- enable Unicode font on cast call.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Apr 10, 2019
1 parent 9fddc38 commit 2747eef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/intermission/intermission.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,10 @@ void DIntermissionScreenCast::Drawer ()
const char *name = mName;
if (name != NULL)
{
auto font = generic_ui ? NewSmallFont : SmallFont;
if (*name == '$') name = GStrings(name+1);
screen->DrawText (SmallFont, CR_UNTRANSLATED,
(SCREENWIDTH - SmallFont->StringWidth (name) * CleanXfac)/2,
screen->DrawText (font, CR_UNTRANSLATED,
(SCREENWIDTH - font->StringWidth (name) * CleanXfac)/2,
(SCREENHEIGHT * 180) / 200,
name,
DTA_CleanNoMove, true, TAG_DONE);
Expand Down

0 comments on commit 2747eef

Please sign in to comment.