Make priest door opening check match dog_move
This commit is contained in:
@@ -76,8 +76,8 @@ register xchar omx, omy, gx, gy;
|
|||||||
allowflags |= ALLOW_DIG;
|
allowflags |= ALLOW_DIG;
|
||||||
if (!nohands(mtmp->data) && !verysmall(mtmp->data)) {
|
if (!nohands(mtmp->data) && !verysmall(mtmp->data)) {
|
||||||
allowflags |= OPENDOOR;
|
allowflags |= OPENDOOR;
|
||||||
if (m_carrying(mtmp, SKELETON_KEY))
|
if (monhaskey(mtmp, TRUE))
|
||||||
allowflags |= BUSTDOOR;
|
allowflags |= UNLOCKDOOR;
|
||||||
}
|
}
|
||||||
if (is_giant(mtmp->data))
|
if (is_giant(mtmp->data))
|
||||||
allowflags |= BUSTDOOR;
|
allowflags |= BUSTDOOR;
|
||||||
|
|||||||
Reference in New Issue
Block a user