comparison srogue/main.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 88ab59f06dfc
children 15f8229f38c1
comparison
equal deleted inserted replaced
99:dfeed24bb616 100:1e88eb1942a5
92 { 92 {
93 showtop(0); 93 showtop(0);
94 exit(0); 94 exit(0);
95 } 95 }
96 96
97 #ifdef WIZARD
97 if (argc >= 2 && author() && strcmp(argv[1],"-a") == 0) 98 if (argc >= 2 && author() && strcmp(argv[1],"-a") == 0)
98 { 99 {
99 wizard = TRUE; 100 wizard = TRUE;
100 argv++; 101 argv++;
101 argc--; 102 argc--;
110 wizard = TRUE; 111 wizard = TRUE;
111 argv++; 112 argv++;
112 argc--; 113 argc--;
113 } 114 }
114 } 115 }
116 #endif
115 time(&now); 117 time(&now);
116 lowtime = (int) now; 118 lowtime = (int) now;
117 119
118 #ifdef SAVEDIR 120 #ifdef SAVEDIR
119 if (argc >= 3 && !strcmp(argv[1], "-n")) { 121 if (argc >= 3 && !strcmp(argv[1], "-n")) {