Mercurial > hg > early-roguelike
comparison xrogue/bolt.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 |
---|---|
339 if (on(player, ISHUH)) | 339 if (on(player, ISHUH)) |
340 lengthen(unconfuse, | 340 lengthen(unconfuse, |
341 rnd(20)+HUHDURATION); | 341 rnd(20)+HUHDURATION); |
342 else { | 342 else { |
343 turn_on(player, ISHUH); | 343 turn_on(player, ISHUH); |
344 fuse(unconfuse, (VOID *)NULL, | 344 fuse(unconfuse, NULL, |
345 rnd(20)+HUHDURATION, AFTER); | 345 rnd(20)+HUHDURATION, AFTER); |
346 msg("The confusion gas has confused you."); | 346 msg("The confusion gas has confused you."); |
347 } | 347 } |
348 } | 348 } |
349 else msg("You feel dizzy for a moment, but it quickly passes."); | 349 else msg("You feel dizzy for a moment, but it quickly passes."); |