Merge branch 'NetHack-3.6.2'
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user