Mercurial > hg > early-roguelike
changeset 100:1e88eb1942a5
srogue: allow wizard mode to be compiled out.
author | John "Elwin" Edwards |
---|---|
date | Sat, 31 Aug 2013 14:24:31 -0700 |
parents | dfeed24bb616 |
children | 15f8229f38c1 |
files | srogue/command.c srogue/main.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/srogue/command.c Sat Aug 31 09:18:07 2013 -0700 +++ b/srogue/command.c Sat Aug 31 14:24:31 2013 -0700 @@ -199,6 +199,7 @@ activity(); after = FALSE; } +#ifdef WIZARD when CTRL('P') : after = FALSE; if (wizard) { @@ -214,6 +215,7 @@ else msg("Sorry"); } +#endif when ESCAPE : /* Escape */ door_stop = FALSE; count = 0;