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);
|
||||
}
|
||||
when '.' : ; /* Rest command */
|
||||
#ifdef WIZARD
|
||||
when CTRL('P') :
|
||||
after = FALSE;
|
||||
if (wizard)
|
||||
|
|
@ -211,6 +212,7 @@ command()
|
|||
else
|
||||
msg("Sorry");
|
||||
}
|
||||
#endif
|
||||
when ESCAPE : /* Escape */
|
||||
door_stop = FALSE;
|
||||
count = 0;
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ char **envp;
|
|||
score(0, -1, 0);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
#ifdef WIZARD
|
||||
/*
|
||||
* Check to see if he is a wizard
|
||||
*/
|
||||
|
|
@ -57,6 +59,7 @@ char **envp;
|
|||
argv++;
|
||||
argc--;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Are we using the system savefile directory? */
|
||||
#ifdef SAVEDIR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue