Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
106:c191a735f811 | 107:f2951c4e28d9 |
---|---|
700 kill_daemon(trap_look); | 700 kill_daemon(trap_look); |
701 /* | 701 /* |
702 * if he becomes a thief then add the trap_look() daemon | 702 * if he becomes a thief then add the trap_look() daemon |
703 */ | 703 */ |
704 if (obj->o_ac == C_THIEF) | 704 if (obj->o_ac == C_THIEF) |
705 daemon(trap_look, 0, AFTER); | 705 start_daemon(trap_look, 0, AFTER); |
706 char_type = player.t_ctype = obj->o_ac; | 706 char_type = player.t_ctype = obj->o_ac; |
707 save = pstats.s_hpt; | 707 save = pstats.s_hpt; |
708 max_stats.s_hpt = pstats.s_hpt = 0; | 708 max_stats.s_hpt = pstats.s_hpt = 0; |
709 max_stats.s_lvl = pstats.s_lvl = 0; | 709 max_stats.s_lvl = pstats.s_lvl = 0; |
710 max_stats.s_exp = pstats.s_exp -= pstats.s_exp/10; | 710 max_stats.s_exp = pstats.s_exp -= pstats.s_exp/10; |