Merge branch 'NetHack-3.6.2'

This commit is contained in:
nhmall
2019-05-05 23:30:50 -04:00
18 changed files with 218 additions and 87 deletions
+3 -1
View File
@@ -408,7 +408,8 @@ register struct monst *magr, *mdef;
|| objects[g.otmp->otyp].oc_material == METAL))
&& mdef->mhp > 1
&& !mdef->mcan) {
if (clone_mon(mdef, 0, 0)) {
struct monst *mclone;
if ((mclone = clone_mon(mdef, 0, 0)) != 0) {
if (g.vis && canspotmon(mdef)) {
char buf[BUFSZ];
@@ -416,6 +417,7 @@ register struct monst *magr, *mdef;
pline("%s divides as %s hits it!", buf,
mon_nam(magr));
}
mintrap(mclone);
}
}
} else