Mercurial > hg > early-roguelike
diff srogue/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 | 696277507a2e |
children | d3968e9cb98d |
line wrap: on
line diff
--- a/srogue/state.c Sat Mar 12 14:36:25 2016 -0500 +++ b/srogue/state.c Sat Mar 19 16:18:58 2016 -0400 @@ -925,6 +925,8 @@ for(row=0;row<height;row++) for(col=0;col<width;col++) rs_write_int(savef, mvwinch(win,row,col)); + + return(WRITESTAT); } int @@ -1381,6 +1383,8 @@ for(i = 0; i < count; i++) rs_write_monster_reference(savef, marray[i]); + + return(WRITESTAT); } int @@ -1390,6 +1394,8 @@ for(i = 0; i < count; i++) rs_read_monster_reference(inf, &marray[i]); + + return(READSTAT); } int @@ -1560,6 +1566,7 @@ rs_write_int(savef, trap[n].tr_flags); rs_write_char(savef, trap[n].tr_type); } + return (WRITESTAT); } int