Mercurial > hg > early-roguelike
comparison xrogue/misc.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 |
comparison
equal
deleted
inserted
replaced
150:a307ff9cd95e | 151:cadff8f047a1 |
---|---|
130 * if he becomes a thief, assassin, or monk then add | 130 * if he becomes a thief, assassin, or monk then add |
131 * the trap_look() daemon | 131 * the trap_look() daemon |
132 */ | 132 */ |
133 if (*newclass == C_THIEF || *newclass == C_ASSASSIN || | 133 if (*newclass == C_THIEF || *newclass == C_ASSASSIN || |
134 *newclass == C_MONK) | 134 *newclass == C_MONK) |
135 daemon(trap_look, (VOID *)NULL, AFTER); | 135 start_daemon(trap_look, (VOID *)NULL, AFTER); |
136 | 136 |
137 /* adjust stats */ | 137 /* adjust stats */ |
138 char_type = player.t_ctype = *newclass; | 138 char_type = player.t_ctype = *newclass; |
139 save = pstats.s_hpt; | 139 save = pstats.s_hpt; |
140 max_stats.s_hpt = pstats.s_hpt = 0; | 140 max_stats.s_hpt = pstats.s_hpt = 0; |