- fixed: ST_FormatMapName did not clear the string it wrote to before appending text.

This commit is contained in:
Christoph Oelckers 2018-12-05 08:29:39 +01:00
parent 5e1fc45816
commit a846ed391e

View file

@ -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 << ": ";