Mercurial > hg > early-roguelike
diff arogue7/main.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 | 301ed6992c2e |
children | f9ef86cf22b2 |
line wrap: on
line diff
--- a/arogue7/main.c Thu May 28 09:41:29 2015 -0400 +++ b/arogue7/main.c Thu May 28 10:21:43 2015 -0400 @@ -383,7 +383,7 @@ /* * Start up daemons and fuses */ - daemon(doctor, &player, AFTER); + start_daemon(doctor, &player, AFTER); fuse(swander, 0, WANDERTIME, AFTER); if (player.t_ctype == C_MAGICIAN || player.t_ctype == C_RANGER) fuse(spell_recovery, 0, SPELLTIME, AFTER); @@ -391,11 +391,11 @@ fuse(chant_recovery, 0, SPELLTIME, AFTER); if (player.t_ctype == C_CLERIC || player.t_ctype == C_PALADIN) fuse(prayer_recovery, 0, SPELLTIME, AFTER); - daemon(stomach, 0, AFTER); + start_daemon(stomach, 0, AFTER); if (player.t_ctype == C_THIEF || player.t_ctype == C_ASSASIN || player.t_ctype == C_MONK) - daemon(trap_look, 0, AFTER); + start_daemon(trap_look, 0, AFTER); /* Does this character have any special knowledge? */ switch (player.t_ctype) {