srogue: allow wizard mode to be compiled out.

This commit is contained in:
John "Elwin" Edwards 2013-08-31 14:24:31 -07:00
parent 47712fdf5d
commit 7d4d7dbbe8
2 changed files with 4 additions and 0 deletions

View file

@ -199,6 +199,7 @@ command()
activity();
after = FALSE;
}
#ifdef WIZARD
when CTRL('P') :
after = FALSE;
if (wizard) {
@ -214,6 +215,7 @@ command()
else
msg("Sorry");
}
#endif
when ESCAPE : /* Escape */
door_stop = FALSE;
count = 0;

View file

@ -94,6 +94,7 @@ char **envp;
exit(0);
}
#ifdef WIZARD
if (argc >= 2 && author() && strcmp(argv[1],"-a") == 0)
{
wizard = TRUE;
@ -112,6 +113,7 @@ char **envp;
argc--;
}
}
#endif
time(&now);
lowtime = (int) now;