Make WIZARD unconditional.

This commit is contained in:
Sean Hunt
2015-02-14 00:31:17 -05:00
parent ad82ca80f3
commit 4f59f5c6fd
62 changed files with 42 additions and 493 deletions

View File

@@ -779,7 +779,7 @@ boolean ghostly;
mvitals[mndx].born++;
if ((int) mvitals[mndx].born >= lim && !(mons[mndx].geno & G_NOGEN) &&
!(mvitals[mndx].mvflags & G_EXTINCT)) {
#if defined(DEBUG) && defined(WIZARD)
#ifdef DEBUG
if (wizard) pline("Automatically extinguished %s.",
makeplural(mons[mndx].mname));
#endif
@@ -925,7 +925,7 @@ register int mmflags;
/* if you are to make a specific monster and it has
already been genocided, return */
if (mvitals[mndx].mvflags & G_GENOD) return((struct monst *) 0);
#if defined(WIZARD) && defined(DEBUG)
#ifdef DEBUG
if (wizard && (mvitals[mndx].mvflags & G_EXTINCT))
pline("Explicitly creating extinct monster %s.",
mons[mndx].mname);
@@ -1186,12 +1186,9 @@ boolean neverask;
int x, y;
struct monst *mon;
boolean known = FALSE;
#ifdef WIZARD
boolean ask = (wizard && !neverask);
#endif
while (cnt--) {
#ifdef WIZARD
if (ask) {
if (create_particular()) {
known = TRUE;
@@ -1199,7 +1196,6 @@ boolean neverask;
}
else ask = FALSE; /* ESC will shut off prompting */
}
#endif
x = u.ux, y = u.uy;
/* if in water, try to encourage an aquatic monster
by finding and then specifying another wet location */