Rename daemon() to start_daemon().
daemon() conflicted with the standard library function, which is included by default on OS X.
This commit is contained in:
parent
05b8759305
commit
720d587422
12 changed files with 25 additions and 25 deletions
|
|
@ -179,7 +179,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
|
||||
|
|
@ -215,7 +215,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