From 99b069d122e6bec3d3422ecc7ccec36efcbd59f9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 26 Dec 2021 12:09:06 +0100 Subject: [PATCH] - fixed the user map label. TXT_USERMAP does not exist, only MNU_USERMAP does. --- source/core/mapinfo.h | 2 +- wadsrc/static/zscript/razebase.zs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/core/mapinfo.h b/source/core/mapinfo.h index d29a72c18..b165d7e7d 100644 --- a/source/core/mapinfo.h +++ b/source/core/mapinfo.h @@ -155,7 +155,7 @@ struct MapRecord const char* LabelName() const { - if (flags & MI_USERMAP) return GStrings("TXT_USERMAP"); + if (flags & MI_USERMAP) return GStrings("MNU_USERMAP"); return labelName; } const char *DisplayName() const diff --git a/wadsrc/static/zscript/razebase.zs b/wadsrc/static/zscript/razebase.zs index 32554a296..9f623c9e1 100644 --- a/wadsrc/static/zscript/razebase.zs +++ b/wadsrc/static/zscript/razebase.zs @@ -100,7 +100,7 @@ struct MapRecord native String GetLabelName() { - if (flags & USERMAP) return StringTable.Localize("$TXT_USERMAP"); + if (flags & USERMAP) return StringTable.Localize("$MNU_USERMAP"); return labelName; } String DisplayName()