bones follow-up

include the savefile info in bones files
This commit is contained in:
nethack.allison
2005-01-22 18:58:02 +00:00
parent 4bfba9b24f
commit fab2b1655f

View File

@@ -379,6 +379,7 @@ struct obj *corpse;
* information itself.
*/
store_version(fd);
store_savefileinfo(fd);
bwrite(fd, (genericptr_t) &c, sizeof c);
bwrite(fd, (genericptr_t) bonesid, (unsigned) c); /* DD.nnn */
savefruitchn(fd, COUNT_SAVE);
@@ -397,6 +398,7 @@ struct obj *corpse;
#endif /* MFLOPPY */
store_version(fd);
store_savefileinfo(fd);
bwrite(fd, (genericptr_t) &c, sizeof c);
bwrite(fd, (genericptr_t) bonesid, (unsigned) c); /* DD.nnn */
savefruitchn(fd, WRITE_SAVE | FREE_SAVE);