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
|
|
@ -383,7 +383,7 @@ char **envp;
|
|||
/*
|
||||
* 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 @@ char **envp;
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue