From 0360038fc7526c68be725b66c272c881238a2c49 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 22 Dec 2004 18:16:59 +0000 Subject: [PATCH] doh. versionschaos gemacht mit datenfiles. --- src/common/kernel/save.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/common/kernel/save.c b/src/common/kernel/save.c index 3b7e09314..ce290c7c7 100644 --- a/src/common/kernel/save.c +++ b/src/common/kernel/save.c @@ -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) { - write_items(F, f->items); - wnl(F); - } +#if RELEASE_VERSION>=CLAIM_VERSION + write_items(F, f->items); + wnl(F); +#endif #ifdef MSG_LEVELS write_msglevels(f->warnings, F); #else