Mercurial > hg > early-roguelike
diff 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 |
line wrap: on
line diff
--- a/arogue7/wear.c Thu May 28 09:41:29 2015 -0400 +++ b/arogue7/wear.c Thu May 28 10:21:43 2015 -0400 @@ -325,7 +325,7 @@ msg("Wearing %s", inv_name(obj,TRUE)); cur_misc[WEAR_GAUNTLET] = obj; if (obj->o_which == MM_FUMBLE) - daemon(fumble, 0, AFTER); + start_daemon(fumble, 0, AFTER); /* * the jewel of attacks does an aggavate monster */ @@ -349,7 +349,7 @@ msg("Wearing %s",inv_name(obj,TRUE)); cur_misc[WEAR_NECKLACE] = obj; msg("The necklace is beginning to strangle you!"); - daemon(strangle, 0, AFTER); + start_daemon(strangle, 0, AFTER); otherwise: msg("What a strange item you have!"); }