]> granicus.if.org Git - nethack/commitdiff
bones follow-up
authornethack.allison <nethack.allison>
Sat, 22 Jan 2005 18:58:02 +0000 (18:58 +0000)
committernethack.allison <nethack.allison>
Sat, 22 Jan 2005 18:58:02 +0000 (18:58 +0000)
include the savefile info in bones files

src/bones.c

index 44e2e536232bbd6983489366254ff648c54ac219..0d2d826283b7515597684fbd14fb0e65311ec215 100644 (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);