forked from github/server
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:
parent
b2cec51385
commit
bc0e8549b9
|
@ -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;
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue