Allow wizard mode to be compiled out
This commit is contained in:
parent
d480eff297
commit
bcc2abe517
2 changed files with 5 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ command()
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
when '.' : ; /* Rest command */
|
when '.' : ; /* Rest command */
|
||||||
|
#ifdef WIZARD
|
||||||
when CTRL('P') :
|
when CTRL('P') :
|
||||||
after = FALSE;
|
after = FALSE;
|
||||||
if (wizard)
|
if (wizard)
|
||||||
|
|
@ -211,6 +212,7 @@ command()
|
||||||
else
|
else
|
||||||
msg("Sorry");
|
msg("Sorry");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
when ESCAPE : /* Escape */
|
when ESCAPE : /* Escape */
|
||||||
door_stop = FALSE;
|
door_stop = FALSE;
|
||||||
count = 0;
|
count = 0;
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,8 @@ char **envp;
|
||||||
score(0, -1, 0);
|
score(0, -1, 0);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WIZARD
|
||||||
/*
|
/*
|
||||||
* Check to see if he is a wizard
|
* Check to see if he is a wizard
|
||||||
*/
|
*/
|
||||||
|
|
@ -57,6 +59,7 @@ char **envp;
|
||||||
argv++;
|
argv++;
|
||||||
argc--;
|
argc--;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Are we using the system savefile directory? */
|
/* Are we using the system savefile directory? */
|
||||||
#ifdef SAVEDIR
|
#ifdef SAVEDIR
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue