diff --git a/src/dig.c b/src/dig.c index 00f2f0422..c0c341248 100644 --- a/src/dig.c +++ b/src/dig.c @@ -1642,6 +1642,7 @@ zap_dig(void) if (diridx != DIR_ERR && !conjoined_pits(adjpit, trap_with_u, FALSE)) { digdepth = 0; /* limited to the adjacent location only */ + nhUse(digdepth); if (!(adjpit && is_pit(adjpit->ttyp))) { char buf[BUFSZ]; diff --git a/src/do.c b/src/do.c index 4f633979a..41828b8ac 100644 --- a/src/do.c +++ b/src/do.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 do.c $NHDT-Date: 1704225560 2024/01/02 19:59:20 $ $NHDT-Branch: keni-luabits2 $:$NHDT-Revision: 1.376 $ */ +/* NetHack 3.7 do.c $NHDT-Date: 1737287889 2025/01/19 03:58:09 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.399 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Derek S. Ray, 2015. */ /* NetHack may be freely redistributed. See license for details. */ @@ -224,6 +224,7 @@ flooreffects( } if (!DEADMONSTER(mtmp) && !is_whirly(mtmp->data)) res = FALSE; /* still alive, boulder still intact */ + nhUse(res); } mtmp->mtrapped = 0; } else {