From 9f2f6f6177a7bad618857b315903d02ca9c2d6c3 Mon Sep 17 00:00:00 2001 From: cohrs Date: Sat, 27 Apr 2002 23:22:35 +0000 Subject: [PATCH] boulder display bug If you first pushed an undiscovered boulder while blind with ESP and there's a monster behind it, you'd get a message referring to the boulder but the boulder wasn't displayed. Move the feel_location test. Also, improved the grammar of the message a bit. --- doc/fixes34.1 | 2 ++ src/hack.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 369893342..261ee4cef 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -92,6 +92,8 @@ crocodiles legs are not designed for kicking open doors, chests, et al. walls of one of the luckstone locations in minend-3 were diggable minetn-6 could place downstairs in a cut-off location corpses in bones files don't retain their role characteristic +boulder was not displayed if blind and discovered with a monster known via + ESP behind it Platform- and/or Interface-Specific Fixes diff --git a/src/hack.c b/src/hack.c index 10984fe50..7c10fa500 100644 --- a/src/hack.c +++ b/src/hack.c @@ -114,10 +114,10 @@ moverock() (!mtmp->mtrapped || !(ttmp && ((ttmp->ttyp == PIT) || (ttmp->ttyp == SPIKED_PIT))))) { + if (Blind) feel_location(sx, sy); if (canspotmon(mtmp)) - pline("There's %s on the other side.", mon_nam(mtmp)); + pline("There's %s on the other side.", a_monnam(mtmp)); else { - if (Blind) feel_location(sx, sy); You_hear("a monster behind %s.", the(xname(otmp))); map_invisible(rx, ry); }