comparison arogue7/pack.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 b786053d2f37
children 1cd604c827a3
comparison
equal deleted inserted replaced
150:a307ff9cd95e 151:cadff8f047a1
320 if (purse > 0) 320 if (purse > 0)
321 msg("Your purse feels lighter"); 321 msg("Your purse feels lighter");
322 else 322 else
323 purse = 1; /* fudge to get right msg from eat_gold() */ 323 purse = 1; /* fudge to get right msg from eat_gold() */
324 eat_gold(obj); 324 eat_gold(obj);
325 daemon(eat_gold, obj, AFTER); 325 start_daemon(eat_gold, obj, AFTER);
326 } 326 }
327 /* For the axe start a fuse to change player to a fighter. */ 327 /* For the axe start a fuse to change player to a fighter. */
328 if (obj->o_which == AXE_AKLAD) 328 if (obj->o_which == AXE_AKLAD)
329 fuse(changeclass, C_FIGHTER, roll(20, 20), AFTER); 329 fuse(changeclass, C_FIGHTER, roll(20, 20), AFTER);
330 if (cur_weapon != NULL) { 330 if (cur_weapon != NULL) {