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