]> granicus.if.org Git - nethack/commitdiff
Digging is noisy
authorPasi Kallinen <paxed@alt.org>
Thu, 19 Jan 2023 17:55:24 +0000 (19:55 +0200)
committerPasi Kallinen <paxed@alt.org>
Thu, 19 Jan 2023 17:55:47 +0000 (19:55 +0200)
doc/fixes3-7-0.txt
src/dig.c

index bc6c2d077ff271f15dbf01f13d798999fc5688c2..7ffcd69f66f4724cc4291fbf2575b704027a9e61 100644 (file)
@@ -1087,6 +1087,7 @@ don't reveal color of potions, gems, or spellbooks that haven't been seen up
 fix freeing a worn object when forced to drop it by falling down stairs
 allow setting per-level "temperature": hot, cold, or temperate, currently
        only affects some messages
+digging is noisy
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index e2f9e71ec952d2252528845c11365bf77499df3e..9131b38bed9d7b436446e88913c352045ab007fd 100644 (file)
--- a/src/dig.c
+++ b/src/dig.c
@@ -279,6 +279,7 @@ dig(void)
         case 1:
             pline("Bang!  You hit with the broad side of %s!",
                   the(xname(uwep)));
+            wake_nearby();
             break;
         default:
             Your("swing misses its mark.");
@@ -476,6 +477,7 @@ dig(void)
 
         if (!gd.did_dig_msg) {
             You("hit the %s with all your might.", d_target[dig_target]);
+            wake_nearby();
             gd.did_dig_msg = TRUE;
         }
     }
@@ -610,6 +612,7 @@ digactualhole(coordxy x, coordxy y, struct monst *madeby, int ttyp)
                 pay_for_damage("ruin", FALSE);
             else
                 add_damage(x, y, madeby_u ? SHOP_PIT_COST : 0L);
+            wake_nearby();
         } else if (!madeby_obj && canseemon(madeby)) {
             pline("%s digs a pit in the %s.", Monnam(madeby), surface_type);
         } else if (cansee(x, y) && Verbose(0, digactualhole1)) {
@@ -829,6 +832,7 @@ dighole(boolean pit_only, boolean by_magic, coord *cc)
              * fills it.  Final outcome:  no hole, no boulder.
              */
             pline("KADOOM!  The boulder falls in!");
+            wake_nearby();
             (void) delfloortrap(ttmp);
         }
         delobj(boulder_here);
@@ -1100,6 +1104,7 @@ use_pick_axe2(struct obj *obj)
                 if (vibrate)
                     losehp(Maybe_Half_Phys(2), "axing a hard object",
                            KILLED_BY);
+                wake_nearby();
             } else if (u.utrap && u.utraptype == TT_PIT && trap
                        && (trap_with_u = t_at(u.ux, u.uy))
                        && is_pit(trap->ttyp)