Mercurial > hg > early-roguelike
diff xrogue/pack.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/pack.c Thu May 28 09:41:29 2015 -0400 +++ b/xrogue/pack.c Thu May 28 10:21:43 2015 -0400 @@ -355,7 +355,7 @@ else purse = 1; /* fudge to get right msg from eat_gold() */ eat_gold(obj); - daemon(eat_gold, obj, AFTER); + start_daemon(eat_gold, obj, AFTER); } /* start a fuse to change player into a thief */ if (quest_item != MUSTY_DAGGER) { @@ -435,7 +435,7 @@ else purse = 1; /* fudge to get right msg */ eat_gold(obj); - daemon(eat_gold, obj, AFTER); + start_daemon(eat_gold, obj, AFTER); } } else { @@ -444,7 +444,7 @@ else purse = 1; /* fudge to get right msg */ eat_gold(obj); - daemon(eat_gold, obj, AFTER); + start_daemon(eat_gold, obj, AFTER); } otherwise: