From 2de17b059c609c9ba1efe6afd8bfb031bdbafa32 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 4 Jun 2015 21:27:36 +0300 Subject: [PATCH] Make priest door opening check match dog_move --- src/priest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/priest.c b/src/priest.c index a50b93ef7..fba265259 100644 --- a/src/priest.c +++ b/src/priest.c @@ -76,8 +76,8 @@ register xchar omx, omy, gx, gy; allowflags |= ALLOW_DIG; if (!nohands(mtmp->data) && !verysmall(mtmp->data)) { allowflags |= OPENDOOR; - if (m_carrying(mtmp, SKELETON_KEY)) - allowflags |= BUSTDOOR; + if (monhaskey(mtmp, TRUE)) + allowflags |= UNLOCKDOOR; } if (is_giant(mtmp->data)) allowflags |= BUSTDOOR; -- 2.40.0