Mercurial > hg > early-roguelike
comparison arogue5/wear.c @ 107:f2951c4e28d9
Rename daemon() to start_daemon().
daemon() conflicted with the standard library function, which is
included by default on OS X.
author | John "Elwin" Edwards |
---|---|
date | Sat, 07 Sep 2013 08:08:00 -0400 |
parents | ad2cb9a07aaa |
children | 56e748983fa8 |
comparison
equal
deleted
inserted
replaced
106:c191a735f811 | 107:f2951c4e28d9 |
---|---|
177 msg("Already wearing a pair of gauntlets."); | 177 msg("Already wearing a pair of gauntlets."); |
178 else { | 178 else { |
179 msg("wearing %s",inv_name(obj,TRUE)); | 179 msg("wearing %s",inv_name(obj,TRUE)); |
180 cur_misc[WEAR_GAUNTLET] = obj; | 180 cur_misc[WEAR_GAUNTLET] = obj; |
181 if (obj->o_which == MM_FUMBLE) | 181 if (obj->o_which == MM_FUMBLE) |
182 daemon(fumble, 0, AFTER); | 182 start_daemon(fumble, 0, AFTER); |
183 } | 183 } |
184 /* | 184 /* |
185 * the jewel of attacks does an aggavate monster | 185 * the jewel of attacks does an aggavate monster |
186 */ | 186 */ |
187 when MM_JEWEL: | 187 when MM_JEWEL: |
213 msg("already wearing a necklace"); | 213 msg("already wearing a necklace"); |
214 else { | 214 else { |
215 msg("wearing %s",inv_name(obj,TRUE)); | 215 msg("wearing %s",inv_name(obj,TRUE)); |
216 cur_misc[WEAR_NECKLACE] = obj; | 216 cur_misc[WEAR_NECKLACE] = obj; |
217 msg("The necklace is beginning to strangle you!"); | 217 msg("The necklace is beginning to strangle you!"); |
218 daemon(strangle, 0, AFTER); | 218 start_daemon(strangle, 0, AFTER); |
219 } | 219 } |
220 otherwise: | 220 otherwise: |
221 msg("what a strange item you have!"); | 221 msg("what a strange item you have!"); |
222 } | 222 } |
223 status(FALSE); | 223 status(FALSE); |