forked from github/server
doh. versionschaos gemacht mit datenfiles.
This commit is contained in:
parent
8a70c02ee5
commit
0360038fc7
|
@ -1578,11 +1578,9 @@ readfaction(FILE * F)
|
|||
freset(f, FFL_OVERRIDE);
|
||||
|
||||
a_read(F, &f->attribs);
|
||||
#if RELEASE_VERSION>=CLAIM_VERSION
|
||||
if (global.data_version>=CLAIM_VERSION) {
|
||||
read_items(F, &f->items);
|
||||
}
|
||||
#endif
|
||||
#ifdef MSG_LEVELS
|
||||
read_msglevels(&f->warnings, F);
|
||||
#else
|
||||
|
@ -1675,10 +1673,10 @@ writefaction(FILE * F, const faction * f)
|
|||
wi(F, f->flags);
|
||||
a_write(F, f->attribs);
|
||||
wnl(F);
|
||||
if (global.data_version>=CLAIM_VERSION) {
|
||||
#if RELEASE_VERSION>=CLAIM_VERSION
|
||||
write_items(F, f->items);
|
||||
wnl(F);
|
||||
}
|
||||
#endif
|
||||
#ifdef MSG_LEVELS
|
||||
write_msglevels(f->warnings, F);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue