]> granicus.if.org Git - nethack/commitdiff
wizmakemap should reset lockpicking
authorPasi Kallinen <paxed@alt.org>
Sun, 13 Jan 2019 15:27:17 +0000 (17:27 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 13 Jan 2019 15:27:17 +0000 (17:27 +0200)
src/cmd.c

index 061b156909136aa0b40a82f7370cc725c9bd59be..ef829a884e366cb19fd4405a910bb5ffbf26aa02 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -809,6 +809,7 @@ wiz_makemap(VOID_ARGS)
             ballrelease(FALSE);
             unplacebc();
         }
+        maybe_reset_pick();
         reset_utrap(FALSE); /* also done by safe_teleds() for new level */
         check_special_room(TRUE);
         dmonsfree();