comparison srogue/main.c @ 39:d7d45e980791

srogue: fix bug causing healing on invalid commands.
author elwin
date Sat, 27 Nov 2010 16:49:44 +0000
parents 34d7a614855e
children 30fb47f21d35
comparison
equal deleted inserted replaced
38:8a9525231fb6 39:d7d45e980791
240 new_level(NORMLEV); 240 new_level(NORMLEV);
241 241
242 /* Start up daemons and fuses */ 242 /* Start up daemons and fuses */
243 243
244 daemon(status, TRUE, BEFORE); 244 daemon(status, TRUE, BEFORE);
245 daemon(doctor, TRUE, BEFORE);
246 daemon(stomach, TRUE, BEFORE);
247 daemon(runners, TRUE, AFTER); 245 daemon(runners, TRUE, AFTER);
246 /*
247 * These daemons have been moved to AFTER because BEFORE daemons
248 * get called every command, even invalid ones. Hopefully this
249 * won't break anything.
250 */
251 daemon(doctor, TRUE, AFTER);
252 daemon(stomach, TRUE, AFTER);
248 fuse(swander, TRUE, WANDERTIME); 253 fuse(swander, TRUE, WANDERTIME);
249 254
250 /* Give the rogue his weaponry */ 255 /* Give the rogue his weaponry */
251 256
252 do { 257 do {