comparison xrogue/wear.c @ 236:7c1cb43f346e

XRogue: get rid of VOID as an alias for long. Maybe some compilers in 1986 didn't handle void pointers well, but they are no longer a concern.
author John "Elwin" Edwards
date Mon, 07 Mar 2016 20:44:01 -0500
parents f54901b9c39b
children
comparison
equal deleted inserted replaced
235:2dcf10d45d5b 236:7c1cb43f346e
326 case MM_G_OGRE: 326 case MM_G_OGRE:
327 case MM_FUMBLE: 327 case MM_FUMBLE:
328 msg("Wearing %s", inv_name(obj,TRUE)); 328 msg("Wearing %s", inv_name(obj,TRUE));
329 cur_misc[WEAR_GAUNTLET] = obj; 329 cur_misc[WEAR_GAUNTLET] = obj;
330 if (obj->o_which == MM_FUMBLE) 330 if (obj->o_which == MM_FUMBLE)
331 start_daemon(fumble, (VOID *)NULL, AFTER); 331 start_daemon(fumble, NULL, AFTER);
332 /* 332 /*
333 * the jewel of attacks does an aggavate monster 333 * the jewel of attacks does an aggavate monster
334 */ 334 */
335 when MM_JEWEL: 335 when MM_JEWEL:
336 msg("Wearing %s",inv_name(obj,TRUE)); 336 msg("Wearing %s",inv_name(obj,TRUE));
356 */ 356 */
357 when MM_STRANGLE: 357 when MM_STRANGLE:
358 msg("Wearing %s",inv_name(obj,TRUE)); 358 msg("Wearing %s",inv_name(obj,TRUE));
359 cur_misc[WEAR_NECKLACE] = obj; 359 cur_misc[WEAR_NECKLACE] = obj;
360 msg("The necklace is beginning to strangle you!"); 360 msg("The necklace is beginning to strangle you!");
361 start_daemon(strangle, (VOID *)NULL, AFTER); 361 start_daemon(strangle, NULL, AFTER);
362 otherwise: 362 otherwise:
363 msg("What a strange item you have!"); 363 msg("What a strange item you have!");
364 } 364 }
365 status(FALSE); 365 status(FALSE);
366 if (m_know[obj->o_which] && m_guess[obj->o_which]) { 366 if (m_know[obj->o_which] && m_guess[obj->o_which]) {