monster birth limits followup

This commit is contained in:
nethack.allison
2003-09-06 11:01:05 +00:00
parent 237a8fbce7
commit 9091855c66
3 changed files with 31 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)restore.c 3.4 2002/08/21 */
/* SCCS Id: @(#)restore.c 3.4 2003/09/06 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -268,7 +268,7 @@ boolean ghostly;
mtmp->data = &mons[offset];
if (ghostly) {
int mndx = monsndx(mtmp->data);
if (propagate(mndx, TRUE) == 0) {
if (propagate(mndx, TRUE, ghostly) == 0) {
/* cookie to trigger purge in getbones() */
mtmp->mhpmax = DEFUNCT_MONSTER;
}