comparison rogue4/state.c @ 242:b49d8b963df3

Fix some functions not returning the right type.
author John "Elwin" Edwards
date Sat, 19 Mar 2016 16:18:58 -0400
parents c10fe421b8fb
children d3968e9cb98d
comparison
equal deleted inserted replaced
241:d0f652010675 242:b49d8b963df3
900 rs_write_int(savef,width); 900 rs_write_int(savef,width);
901 901
902 for(row=0;row<height;row++) 902 for(row=0;row<height;row++)
903 for(col=0;col<width;col++) 903 for(col=0;col<width;col++)
904 rs_write_int(savef, mvwinch(win,row,col)); 904 rs_write_int(savef, mvwinch(win,row,col));
905
906 return(WRITESTAT);
905 } 907 }
906 908
907 int 909 int
908 rs_read_window(int inf, WINDOW *win) 910 rs_read_window(int inf, WINDOW *win)
909 { 911 {
1552 tp = item; 1554 tp = item;
1553 t->t_dest = &tp->t_pos; 1555 t->t_dest = &tp->t_pos;
1554 } 1556 }
1555 } 1557 }
1556 1558
1557 int 1559 void
1558 rs_fix_thing_list(THING *list) 1560 rs_fix_thing_list(THING *list)
1559 { 1561 {
1560 THING *item; 1562 THING *item;
1561 1563
1562 for(item = list; item != NULL; item = item->l_next) 1564 for(item = list; item != NULL; item = item->l_next)