comparison srogue/command.c @ 100:1e88eb1942a5

srogue: allow wizard mode to be compiled out.
author John "Elwin" Edwards
date Sat, 31 Aug 2013 14:24:31 -0700
parents 47aeaccbb953
children 458df24e973d
comparison
equal deleted inserted replaced
99:dfeed24bb616 100:1e88eb1942a5
197 when '=' : 197 when '=' :
198 if (author()) { 198 if (author()) {
199 activity(); 199 activity();
200 after = FALSE; 200 after = FALSE;
201 } 201 }
202 #ifdef WIZARD
202 when CTRL('P') : 203 when CTRL('P') :
203 after = FALSE; 204 after = FALSE;
204 if (wizard) { 205 if (wizard) {
205 wizard = FALSE; 206 wizard = FALSE;
206 msg("Not wizard any more"); 207 msg("Not wizard any more");
212 waswizard = TRUE; 213 waswizard = TRUE;
213 } 214 }
214 else 215 else
215 msg("Sorry"); 216 msg("Sorry");
216 } 217 }
218 #endif
217 when ESCAPE : /* Escape */ 219 when ESCAPE : /* Escape */
218 door_stop = FALSE; 220 door_stop = FALSE;
219 count = 0; 221 count = 0;
220 after = FALSE; 222 after = FALSE;
221 when '#': 223 when '#':