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.
This commit is contained in:
parent
090622896b
commit
e9c84b2637
19 changed files with 57 additions and 62 deletions
|
|
@ -685,7 +685,7 @@ wake_monster(int y, int x)
|
|||
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 @@ wake_monster(int y, int x)
|
|||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue