Mercurial > hg > early-roguelike
comparison xrogue/fight.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 | e1cd27c5464f |
comparison
equal
deleted
inserted
replaced
235:2dcf10d45d5b | 236:7c1cb43f346e |
---|---|
562 if (!save(VS_MAGIC, &player, 0) && off(player, ISCLEAR)) { | 562 if (!save(VS_MAGIC, &player, 0) && off(player, ISCLEAR)) { |
563 msg("You feel disoriented."); | 563 msg("You feel disoriented."); |
564 if (find_slot(unconfuse)) | 564 if (find_slot(unconfuse)) |
565 lengthen(unconfuse, HUHDURATION); | 565 lengthen(unconfuse, HUHDURATION); |
566 else | 566 else |
567 fuse(unconfuse, (VOID *)NULL, HUHDURATION, AFTER); | 567 fuse(unconfuse, NULL, HUHDURATION, AFTER); |
568 turn_on(player, ISHUH); | 568 turn_on(player, ISHUH); |
569 } | 569 } |
570 else msg("You feel dizzy, but it quickly passes."); | 570 else msg("You feel dizzy, but it quickly passes."); |
571 } | 571 } |
572 /* Player or monster hits monster */ | 572 /* Player or monster hits monster */ |