Mercurial > hg > early-roguelike
comparison xrogue/eat.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 |
|---|---|
| 151 player.t_ctype == C_RANGER) { | 151 player.t_ctype == C_RANGER) { |
| 152 msg("You feel lousy. "); | 152 msg("You feel lousy. "); |
| 153 } | 153 } |
| 154 else { | 154 else { |
| 155 turn_on(player, HASDISEASE); | 155 turn_on(player, HASDISEASE); |
| 156 fuse(cure_disease, (VOID *)NULL, roll(HEALTIME,SICKTIME),AFTER); | 156 fuse(cure_disease, NULL, roll(HEALTIME,SICKTIME),AFTER); |
| 157 msg("You become ill. "); | 157 msg("You become ill. "); |
| 158 } | 158 } |
| 159 } | 159 } |
| 160 pstats.s_const -= rnd(2)+1; | 160 pstats.s_const -= rnd(2)+1; |
| 161 if (pstats.s_const <= 3) pstats.s_const = 3; | 161 if (pstats.s_const <= 3) pstats.s_const = 3; |
