mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- this better uses currentLevel for consistency
This commit is contained in:
parent
ec96ae8992
commit
250dd36289
1 changed files with 3 additions and 4 deletions
|
@ -959,10 +959,9 @@ void G_DisplayRest(int32_t smoothratio)
|
|||
if (textret == 0 && ud.overhead_on == 2)
|
||||
{
|
||||
const int32_t a = (ud.screen_size > 0) ? 147 : 179;
|
||||
char const * levelname = mapList[ud.volume_number*MAXLEVELS + ud.level_number].DisplayName();
|
||||
if (G_HaveUserMap())
|
||||
levelname = boardfilename;
|
||||
else if (!(G_GetLogoFlags() & LOGO_HIDEEPISODE))
|
||||
char const * levelname = currentLevel->DisplayName();
|
||||
|
||||
if (!Menu_HaveUserMap() && !(G_GetLogoFlags() & LOGO_HIDEEPISODE))
|
||||
minitext(5, a+6, GStrings.localize(gVolumeNames[ud.volume_number]), 0, 2+8+16+256);
|
||||
minitext(5, a+6+6, levelname, 0, 2+8+16+256);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue