Mercurial > hg > early-roguelike
diff xrogue/monsters.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 | e52a8a7ad4c5 |
line wrap: on
line diff
--- a/xrogue/monsters.c Mon Mar 07 19:26:08 2016 -0500 +++ b/xrogue/monsters.c Mon Mar 07 20:44:01 2016 -0500 @@ -685,7 +685,7 @@ if (find_slot(unconfuse)) lengthen(unconfuse, HUHDURATION); else { - fuse(unconfuse, (VOID *)NULL, HUHDURATION, AFTER); + fuse(unconfuse, NULL, HUHDURATION, AFTER); msg("%s's gaze has confused you.",prname(mname, TRUE)); turn_on(player, ISHUH); } @@ -727,7 +727,7 @@ if (!save(VS_WAND, &player, 0)) { msg("The gaze of %s blinds you! ", prname(mname, FALSE)); turn_on(player, ISBLIND); - fuse(sight, (VOID *)NULL, rnd(30)+20, AFTER); + fuse(sight, NULL, rnd(30)+20, AFTER); light(&hero); } }