mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- fixed: ST_FormatMapName did not clear the string it wrote to before appending text.
This commit is contained in:
parent
5e1fc45816
commit
a846ed391e
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ void ST_FormatMapName(FString &mapname, const char *mapnamecolor)
|
|||
cluster_info_t *cluster = FindClusterInfo (level.cluster);
|
||||
bool ishub = (cluster != NULL && (cluster->flags & CLUSTER_HUB));
|
||||
|
||||
mapname = "";
|
||||
if (am_showmaplabel == 1 || (am_showmaplabel == 2 && !ishub))
|
||||
{
|
||||
mapname << level.MapName << ": ";
|
||||
|
|
Loading…
Reference in a new issue