comparison xrogue/rings.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
98 light(&hero); 98 light(&hero);
99 mvwaddch(cw, hero.y, hero.x, PLAYER); 99 mvwaddch(cw, hero.y, hero.x, PLAYER);
100 } 100 }
101 } 101 }
102 when R_SEARCH: 102 when R_SEARCH:
103 start_daemon(ring_search, (VOID *)NULL, AFTER); 103 start_daemon(ring_search, NULL, AFTER);
104 when R_TELEPORT: 104 when R_TELEPORT:
105 start_daemon(ring_teleport, (VOID *)NULL, AFTER); 105 start_daemon(ring_teleport, NULL, AFTER);
106 } 106 }
107 status(FALSE); 107 status(FALSE);
108 if (r_know[obj->o_which] && r_guess[obj->o_which]) { 108 if (r_know[obj->o_which] && r_guess[obj->o_which]) {
109 free(r_guess[obj->o_which]); 109 free(r_guess[obj->o_which]);
110 r_guess[obj->o_which] = NULL; 110 r_guess[obj->o_which] = NULL;