From: nethack.allison Date: Thu, 24 Jan 2002 20:39:16 +0000 (+0000) Subject: no message X-Git-Tag: MOVE2GIT~3358 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cfec715ac0b60bc5980d75e65ad01d81ef88bcb;p=nethack no message --- diff --git a/src/hack.c b/src/hack.c index a0d5ab25b..9cef346d7 100644 --- a/src/hack.c +++ b/src/hack.c @@ -545,8 +545,8 @@ boolean test_only; } else if (tunnels(youmonst.data) && !needspick(youmonst.data)) { /* Eat the rock. */ if (!test_only && still_chewing(x,y)) return FALSE; - } else if (flags.autodig && !flags.run && !flags.nopick && - (uwep && (uwep->otyp == PICK_AXE || uwep->otyp == DWARVISH_MATTOCK))) { + } else if (flags.autodig && !flags.run && !flags.nopick && uwep && + (uwep->otyp == PICK_AXE || uwep->otyp == DWARVISH_MATTOCK)) { /* MRKR: Automatic digging when wielding the appropriate tool */ if (!test_only) { use_pick_axe2(uwep);