- don't show the map name when the menu is active

Since it uses the same font this causes ugly visual clashes.
This commit is contained in:
Christoph Oelckers 2019-12-01 08:25:24 +01:00
parent 79fd4e830a
commit d8c74a8b00
2 changed files with 2 additions and 2 deletions

View File

@ -984,7 +984,7 @@ void G_DisplayRest(int32_t smoothratio)
G_PrintGameQuotes(screenpeek);
if (ud.show_level_text && hud_showmapname && g_levelTextTime > 1)
if (ud.show_level_text && hud_showmapname && g_levelTextTime > 1 && DMenu::CurrentMenu == nullptr)
{
int32_t o = 10|16;

View File

@ -1015,7 +1015,7 @@ void G_DisplayRest(int32_t smoothratio)
G_PrintGameQuotes(screenpeek);
if (ud.show_level_text && hud_showmapname && g_levelTextTime > 1)
if (ud.show_level_text && hud_showmapname && g_levelTextTime > 1 && DMenu::CurrentMenu == nullptr)
{
int32_t o = 10|16;