Order-Liste ist nicht terminiert

This commit is contained in:
Enno Rehling 2004-07-03 19:16:17 +00:00
parent 14142c7538
commit 48d624025e
1 changed files with 4 additions and 1 deletions

View File

@ -1198,7 +1198,10 @@ writeunit(FILE * F, const unit * u)
fputc(' ', F); fputc(' ', F);
} }
} }
/* write an empty string to terminate the list */
fwriteorder(F, NULL, u->faction->locale);
wnl(F); wnl(F);
/* the current default order */
fwriteorder(F, u->lastorder, u->faction->locale); fwriteorder(F, u->lastorder, u->faction->locale);
wnl(F); wnl(F);