Fix birth statistics for pets after #wizmakemap
This commit is contained in:
@@ -778,6 +778,10 @@ boolean pre, wiztower;
|
||||
struct monst *mtmp;
|
||||
|
||||
if (pre) {
|
||||
/* keep steed and other adjacent pets after releasing them
|
||||
from traps, stopping eating, &c as if hero were ascending */
|
||||
keepdogs(TRUE); /* (pets-only; normally we'd be using 'FALSE' here) */
|
||||
|
||||
rm_mapseen(ledger_no(&u.uz));
|
||||
for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) {
|
||||
int ndx = monsndx(mtmp->data);
|
||||
@@ -833,9 +837,6 @@ boolean pre, wiztower;
|
||||
u.uinwater = 0;
|
||||
u.uundetected = 0; /* not hidden, even if means are available */
|
||||
dmonsfree(); /* purge dead monsters from 'fmon' */
|
||||
/* keep steed and other adjacent pets after releasing them
|
||||
from traps, stopping eating, &c as if hero were ascending */
|
||||
keepdogs(TRUE); /* (pets-only; normally we'd be using 'FALSE' here) */
|
||||
|
||||
/* discard current level; "saving" is used to release dynamic data */
|
||||
zero_nhfile(&tmpnhfp); /* also sets fd to -1 as desired */
|
||||
|
||||
Reference in New Issue
Block a user