Give message for genod shifter changing shape

For accessibility, give a message when a monster changes shape
due to the previous shape being genocided.
This commit is contained in:
Pasi Kallinen
2021-12-21 13:10:03 +02:00
parent f08c7f2101
commit 54bba21dd9

View File

@@ -4595,7 +4595,7 @@ kill_genocided_monsters(void)
&& (g.mvitals[mtmp->cham].mvflags & G_GENOD));
if ((g.mvitals[mndx].mvflags & G_GENOD) || kill_cham) {
if (mtmp->cham >= LOW_PM && !kill_cham)
(void) newcham(mtmp, (struct permonst *) 0, FALSE, FALSE);
(void) newcham(mtmp, (struct permonst *) 0, FALSE, TRUE);
else
mondead(mtmp);
}