bones follow-up
include the savefile info in bones files
This commit is contained in:
@@ -379,6 +379,7 @@ struct obj *corpse;
|
|||||||
* information itself.
|
* information itself.
|
||||||
*/
|
*/
|
||||||
store_version(fd);
|
store_version(fd);
|
||||||
|
store_savefileinfo(fd);
|
||||||
bwrite(fd, (genericptr_t) &c, sizeof c);
|
bwrite(fd, (genericptr_t) &c, sizeof c);
|
||||||
bwrite(fd, (genericptr_t) bonesid, (unsigned) c); /* DD.nnn */
|
bwrite(fd, (genericptr_t) bonesid, (unsigned) c); /* DD.nnn */
|
||||||
savefruitchn(fd, COUNT_SAVE);
|
savefruitchn(fd, COUNT_SAVE);
|
||||||
@@ -397,6 +398,7 @@ struct obj *corpse;
|
|||||||
#endif /* MFLOPPY */
|
#endif /* MFLOPPY */
|
||||||
|
|
||||||
store_version(fd);
|
store_version(fd);
|
||||||
|
store_savefileinfo(fd);
|
||||||
bwrite(fd, (genericptr_t) &c, sizeof c);
|
bwrite(fd, (genericptr_t) &c, sizeof c);
|
||||||
bwrite(fd, (genericptr_t) bonesid, (unsigned) c); /* DD.nnn */
|
bwrite(fd, (genericptr_t) bonesid, (unsigned) c); /* DD.nnn */
|
||||||
savefruitchn(fd, WRITE_SAVE | FREE_SAVE);
|
savefruitchn(fd, WRITE_SAVE | FREE_SAVE);
|
||||||
|
|||||||
Reference in New Issue
Block a user