switch to using a flag parameter on newcham()

This commit is contained in:
nhmall
2022-05-28 19:35:48 -04:00
parent ef9d874c22
commit 9e6ac144b4
13 changed files with 70 additions and 49 deletions

View File

@@ -766,7 +766,7 @@ engulfer_digests_food(struct obj *obj)
if (could_poly || could_slime) {
(void) newcham(u.ustuck, could_slime ? &mons[PM_GREEN_SLIME] : 0,
FALSE, could_slime);
could_slime ? NC_SHOW_MSG : NO_NC_FLAGS);
} else if (could_petrify) {
minstapetrify(u.ustuck, TRUE);
} else if (could_grow) {