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
|
|
@ -244,19 +244,19 @@ main(int argc, char *argv[], char *envp[])
|
|||
* Start up daemons and fuses
|
||||
*/
|
||||
start_daemon(doctor, &player, AFTER);
|
||||
fuse(swander, (VOID *)NULL, WANDERTIME, AFTER);
|
||||
fuse(swander, NULL, WANDERTIME, AFTER);
|
||||
/* Give characters their innate abilities */
|
||||
if (player.t_ctype == C_MAGICIAN || player.t_ctype == C_RANGER)
|
||||
fuse(spell_recovery, (VOID *)NULL, SPELLTIME, AFTER);
|
||||
fuse(spell_recovery, NULL, SPELLTIME, AFTER);
|
||||
if (player.t_ctype == C_DRUID || player.t_ctype == C_MONK)
|
||||
fuse(chant_recovery, (VOID *)NULL, SPELLTIME, AFTER);
|
||||
fuse(chant_recovery, NULL, SPELLTIME, AFTER);
|
||||
if (player.t_ctype == C_CLERIC || player.t_ctype == C_PALADIN)
|
||||
fuse(prayer_recovery, (VOID *)NULL, SPELLTIME, AFTER);
|
||||
start_daemon(stomach, (VOID *)NULL, AFTER);
|
||||
fuse(prayer_recovery, NULL, SPELLTIME, AFTER);
|
||||
start_daemon(stomach, NULL, AFTER);
|
||||
if (player.t_ctype == C_THIEF ||
|
||||
player.t_ctype == C_ASSASSIN ||
|
||||
player.t_ctype == C_MONK)
|
||||
start_daemon(trap_look, (VOID *)NULL, AFTER);
|
||||
start_daemon(trap_look, NULL, AFTER);
|
||||
|
||||
/* Does this character have any special knowledge? */
|
||||
switch (player.t_ctype) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue