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.
This commit is contained in:
cohrs
2002-04-27 23:22:35 +00:00
parent 93c2b69769
commit 9f2f6f6177
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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);
}