From 794a53f0c91f4526c0fee8ffa84ce813bf046452 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 6 Jun 2020 09:39:14 +0200 Subject: [PATCH] - fixed font selection on intermission screen. --- wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs b/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs index 7a1a7d57e..ccce22dda 100644 --- a/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs +++ b/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs @@ -178,7 +178,7 @@ class DoomStatusScreen : StatusScreen statsx = max(0, (320 - allwidth) / 2); } - printFont = generic_ui? IntermissionFont : BigFont; + printFont = generic_ui? IntermissionFont : content.mFont; screen.DrawText (textFont, tcolor, statsx, SP_STATSY, "$TXT_IMKILLS", DTA_Clean, true); screen.DrawText (textFont, tcolor, statsx, SP_STATSY+lh, "$TXT_IMITEMS", DTA_Clean, true); screen.DrawText (textFont, tcolor, statsx, SP_STATSY+2*lh, "$TXT_IMSECRETS", DTA_Clean, true); @@ -240,15 +240,15 @@ class RavenStatusScreen : DoomStatusScreen int countpos = gameinfo.gametype==GAME_Strife? 285:270; if (sp_state >= 2) { - drawPercent (IntermissionFont, countpos, 65, cnt_kills[0], wbs.maxkills, true, tcolor); + drawPercent (textFont, countpos, 65, cnt_kills[0], wbs.maxkills, true, tcolor); } if (sp_state >= 4) { - drawPercent (IntermissionFont, countpos, 90, cnt_items[0], wbs.maxitems, true, tcolor); + drawPercent (textFont, countpos, 90, cnt_items[0], wbs.maxitems, true, tcolor); } if (sp_state >= 6) { - drawPercent (IntermissionFont, countpos, 115, cnt_secret[0], wbs.maxsecret, true, tcolor); + drawPercent (textFont, countpos, 115, cnt_secret[0], wbs.maxsecret, true, tcolor); } if (sp_state >= 8) {