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
|
|
@ -325,7 +325,7 @@ wear()
|
|||
msg("Wearing %s", inv_name(obj,TRUE));
|
||||
cur_misc[WEAR_GAUNTLET] = obj;
|
||||
if (obj->o_which == MM_FUMBLE)
|
||||
daemon(fumble, 0, AFTER);
|
||||
start_daemon(fumble, 0, AFTER);
|
||||
/*
|
||||
* the jewel of attacks does an aggavate monster
|
||||
*/
|
||||
|
|
@ -349,7 +349,7 @@ wear()
|
|||
msg("Wearing %s",inv_name(obj,TRUE));
|
||||
cur_misc[WEAR_NECKLACE] = obj;
|
||||
msg("The necklace is beginning to strangle you!");
|
||||
daemon(strangle, 0, AFTER);
|
||||
start_daemon(strangle, 0, AFTER);
|
||||
otherwise:
|
||||
msg("What a strange item you have!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue