Datenformat, plane-attribute

This commit is contained in:
Enno Rehling 2002-02-24 13:06:05 +00:00
parent 4a5ea9d7cf
commit c1a5e55467

View file

@ -1698,7 +1698,7 @@ write_items(FILE *F, item *ilist)
whs(F, resourcename(itm->type->rtype, 0)); whs(F, resourcename(itm->type->rtype, 0));
wi(F, itm->number); wi(F, itm->number);
} }
fputs("end", F); fputs("end ", F);
} }
#ifdef USE_UGROUPS #ifdef USE_UGROUPS
@ -1835,7 +1835,7 @@ writegame(char *path, char quiet)
} }
w = w->next; w = w->next;
} }
ws(F, "end"); fputs("end ", F);
#endif #endif
a_write(F, pl->attribs); a_write(F, pl->attribs);
wnl(F); wnl(F);
@ -1956,7 +1956,7 @@ writegame(char *path, char quiet)
wi(F, res->divisor); wi(F, res->divisor);
res = res->next; res = res->next;
} }
ws(F, "end"); fputs("end ", F);
} }
#else #else
assert(!"invalid defines"); assert(!"invalid defines");
@ -1974,8 +1974,7 @@ writegame(char *path, char quiet)
ws(F, resourcename(demand->type->itype->rtype, 0)); ws(F, resourcename(demand->type->itype->rtype, 0));
wi(F, demand->value); wi(F, demand->value);
} }
fputs("end", F); fputs("end\n", F);
wnl(F);
} }
a_write(F, r->attribs); a_write(F, r->attribs);
wnl(F); wnl(F);