When playing a user map, don't show an episode name in the automap.

git-svn-id: https://svn.eduke32.com/eduke32@6617 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-01-29 11:13:34 +00:00
parent 0ca09c08da
commit 2679b42e72

View file

@ -1071,7 +1071,7 @@ void G_DisplayRest(int32_t smoothratio)
if (textret == 0 && ud.overhead_on == 2)
{
const int32_t a = (ud.screen_size > 0) ? 147 : 179;
if (!(G_GetLogoFlags() & LOGO_HIDEEPISODE))
if (!(G_GetLogoFlags() & LOGO_HIDEEPISODE) && !G_HaveUserMap())
minitext(5, a+6, g_volumeNames[ud.volume_number], 0, 2+8+16+256);
minitext(5, a+6+6, g_mapInfo[ud.volume_number*MAXLEVELS + ud.level_number].name, 0, 2+8+16+256);
}