From: nethack.rankin Date: Tue, 11 Oct 2005 04:30:24 +0000 (+0000) Subject: SC343-9 followup (trunk only) X-Git-Tag: MOVE2GIT~1222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=213e3e4d00f49a332855fdde50c97e81f93a8f00;p=nethack SC343-9 followup (trunk only) monst->cham usage bit. CHAM_ORDINARY probably ought to be discarded and replaced by NON_PM; then mons[0] wouldn't be ineligible to become a shapechanger. (Not that we want giant ants to mutate on the fly, but in case someone ever inserts something interesting in front of them.) --- diff --git a/src/read.c b/src/read.c index f30957dd2..cc6069ea7 100644 --- a/src/read.c +++ b/src/read.c @@ -2014,7 +2014,7 @@ create_particular() } if (mtmp) { madeany = TRUE; - if (mtmp->cham && firstchoice != NON_PM) + if (mtmp->cham != CHAM_ORDINARY && firstchoice != NON_PM) (void)newcham(mtmp, &mons[firstchoice], FALSE, FALSE); } }