Fix unleashable message given for non-leashed monster
This commit is contained in:
@@ -3762,7 +3762,7 @@ boolean msg; /* "The oldmon turns into a newmon!" */
|
|||||||
/* take on the new form... */
|
/* take on the new form... */
|
||||||
set_mon_data(mtmp, mdat);
|
set_mon_data(mtmp, mdat);
|
||||||
|
|
||||||
if (!leashable(mtmp))
|
if (mtmp->mleashed && !leashable(mtmp))
|
||||||
m_unleash(mtmp, TRUE);
|
m_unleash(mtmp, TRUE);
|
||||||
|
|
||||||
if (emits_light(olddata) != emits_light(mtmp->data)) {
|
if (emits_light(olddata) != emits_light(mtmp->data)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user