Bugfix for "Blue Mountain 0", "Green Hills K".

Also, minor tweak.
This commit is contained in:
toaster 2018-08-12 15:10:47 +01:00
parent 9f107166f3
commit b7f7da4f6c
2 changed files with 2 additions and 2 deletions

View File

@ -770,7 +770,7 @@ static void ST_drawLevelTitle(void)
lvlw = V_LevelNameWidth(lvlttl);
if (strlen(actnum) > 0)
if (actnum[0])
lvlttlxpos = ((BASEVIDWIDTH/2) - (lvlw/2)) - V_LevelNameWidth(actnum);
else
lvlttlxpos = ((BASEVIDWIDTH/2) - (lvlw/2));

View File

@ -1460,7 +1460,7 @@ void Y_StartVote(void)
snprintf(levelinfo[i].str,
sizeof levelinfo[i].str,
"%s %s",
mapheaderinfo[prevmap]->lvlttl, mapheaderinfo[votelevels[i][0]]->actnum);
mapheaderinfo[votelevels[i][0]]->lvlttl, mapheaderinfo[votelevels[i][0]]->actnum);
else
snprintf(levelinfo[i].str,
sizeof levelinfo[i].str,