Mercurial > hg > early-roguelike
comparison arogue7/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 | b786053d2f37 |
children | f9ef86cf22b2 |
comparison
equal
deleted
inserted
replaced
150:a307ff9cd95e | 151:cadff8f047a1 |
---|---|
323 case MM_G_OGRE: | 323 case MM_G_OGRE: |
324 case MM_FUMBLE: | 324 case MM_FUMBLE: |
325 msg("Wearing %s", inv_name(obj,TRUE)); | 325 msg("Wearing %s", inv_name(obj,TRUE)); |
326 cur_misc[WEAR_GAUNTLET] = obj; | 326 cur_misc[WEAR_GAUNTLET] = obj; |
327 if (obj->o_which == MM_FUMBLE) | 327 if (obj->o_which == MM_FUMBLE) |
328 daemon(fumble, 0, AFTER); | 328 start_daemon(fumble, 0, AFTER); |
329 /* | 329 /* |
330 * the jewel of attacks does an aggavate monster | 330 * the jewel of attacks does an aggavate monster |
331 */ | 331 */ |
332 when MM_JEWEL: | 332 when MM_JEWEL: |
333 msg("Wearing %s",inv_name(obj,TRUE)); | 333 msg("Wearing %s",inv_name(obj,TRUE)); |
347 */ | 347 */ |
348 when MM_STRANGLE: | 348 when MM_STRANGLE: |
349 msg("Wearing %s",inv_name(obj,TRUE)); | 349 msg("Wearing %s",inv_name(obj,TRUE)); |
350 cur_misc[WEAR_NECKLACE] = obj; | 350 cur_misc[WEAR_NECKLACE] = obj; |
351 msg("The necklace is beginning to strangle you!"); | 351 msg("The necklace is beginning to strangle you!"); |
352 daemon(strangle, 0, AFTER); | 352 start_daemon(strangle, 0, AFTER); |
353 otherwise: | 353 otherwise: |
354 msg("What a strange item you have!"); | 354 msg("What a strange item you have!"); |
355 } | 355 } |
356 status(FALSE); | 356 status(FALSE); |
357 if (m_know[obj->o_which] && m_guess[obj->o_which]) { | 357 if (m_know[obj->o_which] && m_guess[obj->o_which]) { |