another 'm #overview' fix

Once in the endgame, suppress non-endgame levels from the 'm #overview'
annotation menu like is already done for normal #overview.
This commit is contained in:
PatR
2023-11-17 00:43:06 -08:00
parent 387cef9899
commit a49c872f47
2 changed files with 2 additions and 1 deletions

View File

@@ -3422,7 +3422,7 @@ show_overview(
if (In_endgame(&u.uz))
traverse_mapseenchn(1, win, why, reason, &lastdun);
/* if game is over or we're not in the endgame yet, show the dungeon */
if (why != 0 || !In_endgame(&u.uz))
if (why > 0 || !In_endgame(&u.uz))
traverse_mapseenchn(0, win, why, reason, &lastdun);
end_menu(win, (char *) 0);
n = select_menu(win, (why != -1) ? PICK_NONE : PICK_ONE, &selected);