Mercurial > hg > early-roguelike
comparison xrogue/sticks.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 | 2236ef808bcb |
comparison
equal
deleted
inserted
replaced
235:2dcf10d45d5b | 236:7c1cb43f346e |
---|---|
611 } | 611 } |
612 if (!save(VS_WAND, &player, 0) && !ISWEARING(R_HEALTH)) { | 612 if (!save(VS_WAND, &player, 0) && !ISWEARING(R_HEALTH)) { |
613 turn_on(player, HASDISEASE); | 613 turn_on(player, HASDISEASE); |
614 turn_on(player, HASINFEST); | 614 turn_on(player, HASINFEST); |
615 turn_on(player, DOROT); | 615 turn_on(player, DOROT); |
616 fuse(cure_disease, (VOID *)NULL, roll(HEALTIME,SICKTIME), AFTER); | 616 fuse(cure_disease, NULL, roll(HEALTIME,SICKTIME), AFTER); |
617 infest_dam++; | 617 infest_dam++; |
618 } | 618 } |
619 else if (sick == FALSE) msg("You feel momentarily sick"); | 619 else if (sick == FALSE) msg("You feel momentarily sick"); |
620 } | 620 } |
621 else { | 621 else { |