From 254b8220037f2d077a22a15eae8d3c2d9ec35895 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 29 Jan 2018 11:13:37 +0000 Subject: [PATCH] When playing a user map, print "User Map: " to the log instead of "E1L8: User Map". git-svn-id: https://svn.eduke32.com/eduke32@6618 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/premap.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/premap.cpp b/source/duke3d/src/premap.cpp index 1871a5f1b..db02ef6a5 100644 --- a/source/duke3d/src/premap.cpp +++ b/source/duke3d/src/premap.cpp @@ -2028,8 +2028,15 @@ int G_EnterLevel(int gameMode) break; } - OSD_Printf(OSDTEXT_YELLOW "E%dL%d: %s\n", ud.volume_number+1, ud.level_number+1, - g_mapInfo[mii].name); + if (G_HaveUserMap()) + { + OSD_Printf(OSDTEXT_YELLOW "User Map: %s\n", boardfilename); + } + else + { + OSD_Printf(OSDTEXT_YELLOW "E%dL%d: %s\n", ud.volume_number+1, ud.level_number+1, + g_mapInfo[mii].name); + } g_restorePalette = -1;