Fix pet polyed to long worm staying leashed

Long worms cannot be leashed, but polymorphing a leashed pet
into a long worm kept it leashed.
This commit is contained in:
Pasi Kallinen
2019-11-01 19:04:24 +02:00
parent 6de0f7a939
commit 54024f2015
4 changed files with 6 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ E int NDECL(number_leashed);
E void FDECL(o_unleash, (struct obj *));
E void FDECL(m_unleash, (struct monst *, BOOLEAN_P));
E void NDECL(unleash_all);
E boolean FDECL(leashable, (struct monst *));
E boolean NDECL(next_to_u);
E struct obj *FDECL(get_mleash, (struct monst *));
E const char *NDECL(beautiful);