comparison xrogue/wear.c @ 151:cadff8f047a1

arogue7, xrogue: rename daemon() to start_daemon(). This prevents conflict with the BSD/OSX daemon() system function.
author John "Elwin" Edwards
date Thu, 28 May 2015 10:21:43 -0400
parents ce0cf824c192
children f54901b9c39b
comparison
equal deleted inserted replaced
150:a307ff9cd95e 151:cadff8f047a1
322 case MM_G_OGRE: 322 case MM_G_OGRE:
323 case MM_FUMBLE: 323 case MM_FUMBLE:
324 msg("Wearing %s", inv_name(obj,TRUE)); 324 msg("Wearing %s", inv_name(obj,TRUE));
325 cur_misc[WEAR_GAUNTLET] = obj; 325 cur_misc[WEAR_GAUNTLET] = obj;
326 if (obj->o_which == MM_FUMBLE) 326 if (obj->o_which == MM_FUMBLE)
327 daemon(fumble, (VOID *)NULL, AFTER); 327 start_daemon(fumble, (VOID *)NULL, AFTER);
328 /* 328 /*
329 * the jewel of attacks does an aggavate monster 329 * the jewel of attacks does an aggavate monster
330 */ 330 */
331 when MM_JEWEL: 331 when MM_JEWEL:
332 msg("Wearing %s",inv_name(obj,TRUE)); 332 msg("Wearing %s",inv_name(obj,TRUE));
352 */ 352 */
353 when MM_STRANGLE: 353 when MM_STRANGLE:
354 msg("Wearing %s",inv_name(obj,TRUE)); 354 msg("Wearing %s",inv_name(obj,TRUE));
355 cur_misc[WEAR_NECKLACE] = obj; 355 cur_misc[WEAR_NECKLACE] = obj;
356 msg("The necklace is beginning to strangle you!"); 356 msg("The necklace is beginning to strangle you!");
357 daemon(strangle, (VOID *)NULL, AFTER); 357 start_daemon(strangle, (VOID *)NULL, AFTER);
358 otherwise: 358 otherwise:
359 msg("What a strange item you have!"); 359 msg("What a strange item you have!");
360 } 360 }
361 status(FALSE); 361 status(FALSE);
362 if (m_know[obj->o_which] && m_guess[obj->o_which]) { 362 if (m_know[obj->o_which] && m_guess[obj->o_which]) {