Mercurial > hg > early-roguelike
diff arogue5/wear.c @ 107:f2951c4e28d9
Rename daemon() to start_daemon().
daemon() conflicted with the standard library function, which is
included by default on OS X.
author | John "Elwin" Edwards |
---|---|
date | Sat, 07 Sep 2013 08:08:00 -0400 |
parents | ad2cb9a07aaa |
children | 56e748983fa8 |
line wrap: on
line diff
--- a/arogue5/wear.c Wed Sep 04 09:01:44 2013 -0700 +++ b/arogue5/wear.c Sat Sep 07 08:08:00 2013 -0400 @@ -179,7 +179,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 @@ -215,7 +215,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!");