Fix: nymph theft vs monster

Nymphs' item theft attack against other monsters was broken in 1696019,
when a break used to select a particular item in the target monster's
inventory was changed to an early return.
This commit is contained in:
Michael Meyer
2021-05-05 18:51:26 -04:00
committed by Pasi Kallinen
parent 9fa9f00f8a
commit 616311125c

View File

@@ -3946,7 +3946,7 @@ mhitm_ad_sedu(struct monst *magr, struct attack *mattk, struct monst *mdef,
/* find an object to steal, non-cursed if magr is tame */
for (obj = mdef->minvent; obj; obj = obj->nobj)
if (!magr->mtame || !obj->cursed)
return;
break;
if (obj) {
char buf[BUFSZ];