Mercurial > hg > early-roguelike
comparison xrogue/util.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 | d71e5e1f49cf |
comparison
equal
deleted
inserted
replaced
| 235:2dcf10d45d5b | 236:7c1cb43f346e |
|---|---|
| 201 { | 201 { |
| 202 msg("Wait, what's going on here! Huh? What? Who?"); | 202 msg("Wait, what's going on here! Huh? What? Who?"); |
| 203 if (find_slot(unconfuse)) | 203 if (find_slot(unconfuse)) |
| 204 lengthen(unconfuse, HUHDURATION); | 204 lengthen(unconfuse, HUHDURATION); |
| 205 else | 205 else |
| 206 fuse(unconfuse, (VOID *)NULL, HUHDURATION, AFTER); | 206 fuse(unconfuse, NULL, HUHDURATION, AFTER); |
| 207 turn_on(player, ISHUH); | 207 turn_on(player, ISHUH); |
| 208 } | 208 } |
| 209 else msg("You feel dizzy for a moment, but it quickly passes."); | 209 else msg("You feel dizzy for a moment, but it quickly passes."); |
| 210 } | 210 } |
| 211 | 211 |
