# HG changeset patch # User edwarj4 # Date 1256395844 0 # Node ID 949d558c2162fcedb2600facb7be1d7b498e923a # Parent b343f42c1f01272d3a6e6c43e6ad0e568753e760 Allow wizard mode to be compiled out diff -r b343f42c1f01 -r 949d558c2162 rogue3/command.c --- a/rogue3/command.c Sat Oct 24 14:21:15 2009 +0000 +++ b/rogue3/command.c Sat Oct 24 14:50:44 2009 +0000 @@ -193,6 +193,7 @@ exit(0); } when '.' : ; /* Rest command */ +#ifdef WIZARD when CTRL('P') : after = FALSE; if (wizard) @@ -211,6 +212,7 @@ else msg("Sorry"); } +#endif when ESCAPE : /* Escape */ door_stop = FALSE; count = 0; diff -r b343f42c1f01 -r 949d558c2162 rogue3/main.c --- a/rogue3/main.c Sat Oct 24 14:21:15 2009 +0000 +++ b/rogue3/main.c Sat Oct 24 14:50:44 2009 +0000 @@ -47,6 +47,8 @@ score(0, -1, 0); exit(0); } + +#ifdef WIZARD /* * Check to see if he is a wizard */ @@ -57,6 +59,7 @@ argv++; argc--; } +#endif /* Are we using the system savefile directory? */ #ifdef SAVEDIR