Mercurial > hg > early-roguelike
comparison xrogue/encumb.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 |
comparison
equal
deleted
inserted
replaced
235:2dcf10d45d5b | 236:7c1cb43f346e |
---|---|
167 inwhgt = TRUE; | 167 inwhgt = TRUE; |
168 if (pstats.s_pack > pstats.s_carry) { | 168 if (pstats.s_pack > pstats.s_carry) { |
169 ch = mvwinch(stdscr, hero.y, hero.x); | 169 ch = mvwinch(stdscr, hero.y, hero.x); |
170 if((ch != FLOOR && ch != PASSAGE)) { | 170 if((ch != FLOOR && ch != PASSAGE)) { |
171 extinguish(wghtchk); | 171 extinguish(wghtchk); |
172 fuse(wghtchk, (VOID *)NULL, 1, AFTER); | 172 fuse(wghtchk, NULL, 1, AFTER); |
173 inwhgt = FALSE; | 173 inwhgt = FALSE; |
174 return; | 174 return; |
175 } | 175 } |
176 extinguish(wghtchk); | 176 extinguish(wghtchk); |
177 msg("Your pack is far too heavy for you.. "); | 177 msg("Your pack is far too heavy for you.. "); |