Allow wizard mode to be compiled out

This commit is contained in:
John "Elwin" Edwards 2009-10-24 14:50:44 +00:00
parent d480eff297
commit bcc2abe517
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -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