Beim schreiben von Attributen etwas Ordnung gemacht.

Einige Attribute haben _nicht_ ihre schreibroutine mit einem space terminiert, was sie müssen, damit es nicht sowas gibt:
road 2 0 0 1 0 50 0end
This commit is contained in:
Enno Rehling 2004-05-31 12:19:26 +00:00
parent b2cec51385
commit bc0e8549b9
10 changed files with 23 additions and 24 deletions

View File

@ -38,7 +38,6 @@ static int
use_questkey(struct unit * u, const struct item_type * itype, int amount, const char * cmd) use_questkey(struct unit * u, const struct item_type * itype, int amount, const char * cmd)
{ {
border *bo; border *bo;
int key, key1, key2;
region *r1, *r2; region *r1, *r2;
int lock, k; int lock, k;
message *m; message *m;

View File

@ -252,7 +252,7 @@ write_mage(const attrib * a, FILE * F) {
fprintf (F, "%d ", sp->spellid); fprintf (F, "%d ", sp->spellid);
sp = sp->next; sp = sp->next;
} }
fprintf (F, "-1\n"); fprintf (F, "-1 ");
} }
attrib_type at_mage = { attrib_type at_mage = {