]> granicus.if.org Git - nethack/commitdiff
boulder display bug
authorcohrs <cohrs>
Sat, 27 Apr 2002 23:22:35 +0000 (23:22 +0000)
committercohrs <cohrs>
Sat, 27 Apr 2002 23:22:35 +0000 (23:22 +0000)
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
src/hack.c

index 36989334204d9b1dec15ca1968eed2a84cda2640..261ee4ceff5bbce43b87d6fb0cf941cb55d937ad 100644 (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
index 10984fe505ba3554ca20973f48b70c577e1ac827..7c10fa5002d23f8e308d7bfacac9f1468bbd15b6 100644 (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);
                }