From e03c14eeae10c4a49f933120722ac9329689d99a Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 3 Aug 2016 18:51:55 -0700 Subject: [PATCH] dungeon overview when escaping the dungeon Noticed while testing something. Final disclosure of dungeon overview showed "Level 1: <- You were here", which looked a bit odd when the game ended by climbing the stairs to escape the dungeon. Change the annotation when escaping to be "<- You left from here". 'Here' will usually be level 1, but not always. --- doc/fixes36.1 | 2 ++ src/dungeon.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/fixes36.1 b/doc/fixes36.1 index ee67cc371..cbf74c283 100644 --- a/doc/fixes36.1 +++ b/doc/fixes36.1 @@ -326,6 +326,8 @@ when poly'd into an engulfer which does digestion damage, a kill resulting in any corpse eaten by omnivorous hero always tasted "terrible" eating the corpse of a unique non-named monster (Wizard of Yendor, Oracle, Chromatic Dragon, others) gave "The the tastes ..." +when escaping the dungeon, change "you were here" annotation in dungeon + overview to "you left from here" Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository diff --git a/src/dungeon.c b/src/dungeon.c index 8a93b5e5c..78dd19d6c 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -1,4 +1,4 @@ -/* NetHack 3.6 dungeon.c $NHDT-Date: 1462486971 2016/05/05 22:22:51 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.73 $ */ +/* NetHack 3.6 dungeon.c $NHDT-Date: 1470275509 2016/08/04 01:51:49 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.76 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -2864,7 +2864,9 @@ boolean printdun; Sprintf(eos(buf), " \"%s\"", mptr->custom); if (on_level(&u.uz, &mptr->lev)) Sprintf(eos(buf), " <- You %s here.", - (!final || (final == 1 && how == ASCENDED)) ? "are" : "were"); + (!final || (final == 1 && how == ASCENDED)) ? "are" + : (final == 1 && how == ESCAPED) ? "left from" + : "were"); putstr(win, !final ? ATR_BOLD : 0, buf); if (mptr->flags.forgot) -- 2.40.0