Mercurial > hg > early-roguelike
diff arogue5/misc.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/misc.c Wed Sep 04 09:01:44 2013 -0700 +++ b/arogue5/misc.c Sat Sep 07 08:08:00 2013 -0400 @@ -702,7 +702,7 @@ * if he becomes a thief then add the trap_look() daemon */ if (obj->o_ac == C_THIEF) - daemon(trap_look, 0, AFTER); + start_daemon(trap_look, 0, AFTER); char_type = player.t_ctype = obj->o_ac; save = pstats.s_hpt; max_stats.s_hpt = pstats.s_hpt = 0;