comparison xrogue/command.c @ 139:0d151573bdb0

xrogue: compile out wizard mode by default.
author John "Elwin" Edwards
date Tue, 05 May 2015 12:07:12 -0400
parents dd137c35c3b1
children 9aa9b9a2e159
comparison
equal deleted inserted replaced
138:dd137c35c3b1 139:0d151573bdb0
443 when 95: msg(nothing); 443 when 95: msg(nothing);
444 otherwise: msg(""); 444 otherwise: msg("");
445 } 445 }
446 after = FALSE; 446 after = FALSE;
447 when CTRL('P') : 447 when CTRL('P') :
448 #ifdef WIZARD
448 after = FALSE; 449 after = FALSE;
449 if (wizard) 450 if (wizard)
450 { 451 {
451 wizard = FALSE; 452 wizard = FALSE;
452 trader = 0; 453 trader = 0;
460 wizard = waswizard = TRUE; 461 wizard = waswizard = TRUE;
461 } 462 }
462 else 463 else
463 msg("Sorry"); 464 msg("Sorry");
464 } 465 }
466 #else
467 msg("Sorry");
468 #endif
465 469
466 otherwise : 470 otherwise :
467 after = FALSE; 471 after = FALSE;
468 if (wizard) switch (ch) { 472 if (wizard) switch (ch) {
469 case 'M' : create_obj(TRUE, 0, 0); 473 case 'M' : create_obj(TRUE, 0, 0);