# HG changeset patch # User John "Elwin" Edwards # Date 1377984271 25200 # Node ID 1e88eb1942a56eadbaf3e7e447a5606b9c599e5d # Parent dfeed24bb6163a1528b6d55f81f9373cda51e964 srogue: allow wizard mode to be compiled out. diff -r dfeed24bb616 -r 1e88eb1942a5 srogue/command.c --- 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; diff -r dfeed24bb616 -r 1e88eb1942a5 srogue/main.c --- a/srogue/main.c Sat Aug 31 09:18:07 2013 -0700 +++ b/srogue/main.c Sat Aug 31 14:24:31 2013 -0700 @@ -94,6 +94,7 @@ exit(0); } +#ifdef WIZARD if (argc >= 2 && author() && strcmp(argv[1],"-a") == 0) { wizard = TRUE; @@ -112,6 +113,7 @@ argc--; } } +#endif time(&now); lowtime = (int) now;