Make priest door opening check match dog_move

This commit is contained in:
Pasi Kallinen
2015-06-04 21:27:36 +03:00
parent 8d1e49f094
commit 2de17b059c

View File

@@ -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;