- enable Unicode font on cast call.

This commit is contained in:
Christoph Oelckers 2019-04-10 22:32:58 +02:00
parent 9fddc38030
commit 2747eef0e0
1 changed files with 3 additions and 2 deletions

View File

@ -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);