Permalink
Browse files

- fixed: ST_FormatMapName did not clear the string it wrote to before…

… appending text.
  • Loading branch information...
coelckers committed Dec 5, 2018
1 parent 5e1fc45 commit a846ed391eff8e710d89b59116bd3e6e98238c84
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/g_statusbar/shared_sbar.cpp
@@ -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 << ": ";

0 comments on commit a846ed3

Please sign in to comment.