diff rogue3/command.c @ 11:949d558c2162

Allow wizard mode to be compiled out
author edwarj4
date Sat, 24 Oct 2009 14:50:44 +0000
parents 78df7025783b
children a731f515575e
line wrap: on
line diff
--- 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;