arogue7, xrogue: rename daemon() to start_daemon().
This prevents conflict with the BSD/OSX daemon() system function.
This commit is contained in:
parent
b369d09125
commit
4e5f4c52d3
14 changed files with 26 additions and 26 deletions
|
|
@ -116,7 +116,7 @@ int newclass;
|
|||
* if he becomes a thief then add the trap_look() daemon
|
||||
*/
|
||||
if (newclass == C_THIEF || newclass == C_ASSASIN || newclass == C_MONK)
|
||||
daemon(trap_look, 0, AFTER);
|
||||
start_daemon(trap_look, 0, AFTER);
|
||||
char_type = player.t_ctype = newclass;
|
||||
save = pstats.s_hpt;
|
||||
max_stats.s_hpt = pstats.s_hpt = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue