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.)
This commit is contained in:
nethack.rankin
2005-10-11 04:30:24 +00:00
parent c1393e508f
commit 213e3e4d00
+1 -1
View File
@@ -2014,7 +2014,7 @@ create_particular()
} }
if (mtmp) { if (mtmp) {
madeany = TRUE; madeany = TRUE;
if (mtmp->cham && firstchoice != NON_PM) if (mtmp->cham != CHAM_ORDINARY && firstchoice != NON_PM)
(void)newcham(mtmp, &mons[firstchoice], FALSE, FALSE); (void)newcham(mtmp, &mons[firstchoice], FALSE, FALSE);
} }
} }