switch to using a flag parameter on newcham()
This commit is contained in:
@@ -2143,7 +2143,7 @@ use_misc(struct monst* mtmp)
|
||||
return 2;
|
||||
case MUSE_WAN_POLYMORPH:
|
||||
mzapwand(mtmp, otmp, TRUE);
|
||||
(void) newcham(mtmp, muse_newcham_mon(mtmp), TRUE, FALSE);
|
||||
(void) newcham(mtmp, muse_newcham_mon(mtmp), NC_VIA_WAND_OR_SPELL);
|
||||
if (oseen)
|
||||
makeknown(WAN_POLYMORPH);
|
||||
return 2;
|
||||
@@ -2152,7 +2152,7 @@ use_misc(struct monst* mtmp)
|
||||
m_useup(mtmp, otmp);
|
||||
if (vismon)
|
||||
pline("%s suddenly mutates!", Monnam(mtmp));
|
||||
(void) newcham(mtmp, muse_newcham_mon(mtmp), FALSE, FALSE);
|
||||
(void) newcham(mtmp, muse_newcham_mon(mtmp), NO_NC_FLAGS);
|
||||
if (oseen)
|
||||
makeknown(POT_POLYMORPH);
|
||||
return 2;
|
||||
@@ -2179,7 +2179,7 @@ use_misc(struct monst* mtmp)
|
||||
worm_move(mtmp);
|
||||
newsym(g.trapx, g.trapy);
|
||||
|
||||
(void) newcham(mtmp, (struct permonst *) 0, FALSE, FALSE);
|
||||
(void) newcham(mtmp, (struct permonst *) 0, NO_NC_FLAGS);
|
||||
return 2;
|
||||
case MUSE_BAG:
|
||||
return mloot_container(mtmp, otmp, vismon);
|
||||
|
||||
Reference in New Issue
Block a user