Skip to content

Commit

Permalink
Fix window caption when unrecognized PWAD loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 19, 2023
1 parent db27f8d commit bf9e616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ void M_SetWindowCaption(void)
{
if (gamemode == commercial)
{
if (gamemission == pack_plut || gamemission == pack_tnt)
if (gamemission == pack_plut || gamemission == pack_tnt || M_StringEndsWith(gamedescription, ".wad"))
M_snprintf(caption, sizeof(caption), "%s \xC2\xB7 %s \xC2\xB7 %s",
mapnumandtitle, gamedescription, DOOMRETRO_NAME);
else
Expand Down

0 comments on commit bf9e616

Please sign in to comment.