diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 80c9e06fb..ac45b237e 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -201,6 +201,7 @@ use "your kraken" instead of "a kraken" when searching reveals a tame Magicbane should not produce " are confused" message handle antholes more sensibly when ants aren't available cancelled nurses shouldn't say "Relax, this won't hurt a bit" +check for hero location in digactualhole() before clearing u.utrap Platform- and/or Interface-Specific Fixes diff --git a/src/dig.c b/src/dig.c index 4a2cd240a..0533523f0 100644 --- a/src/dig.c +++ b/src/dig.c @@ -488,7 +488,7 @@ int ttyp; boolean at_u = (x == u.ux) && (y == u.uy); boolean wont_fall = Levitation || Flying; - if (u.utrap) { + if (at_u && u.utrap) { if (u.utraptype == TT_BURIEDBALL) buried_ball_to_punishment(); else if (u.utraptype == TT_INFLOOR) u.utrap = 0; }