mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +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