mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +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()
|
||||
{
|
||||
if (flags & USERMAP) return "$TXT_USERMAP";
|
||||
if (flags & USERMAP) return StringTable.Localize("$TXT_USERMAP");
|
||||
return labelName;
|
||||
}
|
||||
String DisplayName()
|
||||
{
|
||||
if (name == "") return labelName;
|
||||
return name;
|
||||
return StringTable.Localize(name);
|
||||
}
|
||||
|
||||
native ClusterDef GetCluster();
|
||||
|
|
|
@ -114,9 +114,9 @@ class RazeStatusBar : StatusBarCore
|
|||
let lev = currentLevel;
|
||||
String mapname;
|
||||
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
|
||||
mapname.Format("%s%s", info.standardColor, lev.DisplayName());
|
||||
mapname = String.Format("%s%s", info.standardColor, lev.DisplayName());
|
||||
|
||||
forcetextfont |= am_textfont;
|
||||
double y;
|
||||
|
|
Loading…
Reference in a new issue