mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 17:30:51 +00:00
- fixed level name display on automap.
This commit is contained in:
parent
5ee4bc5cca
commit
91bd24f8b5
2 changed files with 4 additions and 4 deletions
|
@ -101,13 +101,13 @@ struct MapRecord native
|
||||||
|
|
||||||
String GetLabelName()
|
String GetLabelName()
|
||||||
{
|
{
|
||||||
if (flags & USERMAP) return "$TXT_USERMAP";
|
if (flags & USERMAP) return StringTable.Localize("$TXT_USERMAP");
|
||||||
return labelName;
|
return labelName;
|
||||||
}
|
}
|
||||||
String DisplayName()
|
String DisplayName()
|
||||||
{
|
{
|
||||||
if (name == "") return labelName;
|
if (name == "") return labelName;
|
||||||
return name;
|
return StringTable.Localize(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
native ClusterDef GetCluster();
|
native ClusterDef GetCluster();
|
||||||
|
|
|
@ -114,9 +114,9 @@ class RazeStatusBar : StatusBarCore
|
||||||
let lev = currentLevel;
|
let lev = currentLevel;
|
||||||
String mapname;
|
String mapname;
|
||||||
if (am_showlabel)
|
if (am_showlabel)
|
||||||
mapname.Format("%s%s: %s%s", info.letterColor, lev.GetLabelName(), info.standardColor, lev.DisplayName());
|
mapname = String.Format("%s%s: %s%s", info.letterColor, lev.GetLabelName(), info.standardColor, lev.DisplayName());
|
||||||
else
|
else
|
||||||
mapname.Format("%s%s", info.standardColor, lev.DisplayName());
|
mapname = String.Format("%s%s", info.standardColor, lev.DisplayName());
|
||||||
|
|
||||||
forcetextfont |= am_textfont;
|
forcetextfont |= am_textfont;
|
||||||
double y;
|
double y;
|
||||||
|
|
Loading…
Reference in a new issue