From c1a5e554676d76d12c5c5beffc28ae997e97d348 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 24 Feb 2002 13:06:05 +0000 Subject: [PATCH] Datenformat, plane-attribute --- src/common/kernel/save.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/common/kernel/save.c b/src/common/kernel/save.c index f30451f90..f89ff63ac 100644 --- a/src/common/kernel/save.c +++ b/src/common/kernel/save.c @@ -1698,7 +1698,7 @@ write_items(FILE *F, item *ilist) whs(F, resourcename(itm->type->rtype, 0)); wi(F, itm->number); } - fputs("end", F); + fputs("end ", F); } #ifdef USE_UGROUPS @@ -1835,7 +1835,7 @@ writegame(char *path, char quiet) } w = w->next; } - ws(F, "end"); + fputs("end ", F); #endif a_write(F, pl->attribs); wnl(F); @@ -1956,7 +1956,7 @@ writegame(char *path, char quiet) wi(F, res->divisor); res = res->next; } - ws(F, "end"); + fputs("end ", F); } #else assert(!"invalid defines"); @@ -1974,8 +1974,7 @@ writegame(char *path, char quiet) ws(F, resourcename(demand->type->itype->rtype, 0)); wi(F, demand->value); } - fputs("end", F); - wnl(F); + fputs("end\n", F); } a_write(F, r->attribs); wnl(F);