forked from github/server
formal correction
This commit is contained in:
parent
b107ddadf5
commit
07fd3dc970
1 changed files with 6 additions and 2 deletions
|
@ -1346,10 +1346,14 @@ void writefaction(struct gamedata *data, const faction * f)
|
||||||
WRITE_SECTION(data->store);
|
WRITE_SECTION(data->store);
|
||||||
|
|
||||||
for (sf = f->allies; sf; sf = sf->next) {
|
for (sf = f->allies; sf; sf = sf->next) {
|
||||||
|
int no;
|
||||||
|
int status;
|
||||||
|
|
||||||
assert(sf->faction);
|
assert(sf->faction);
|
||||||
|
|
||||||
int no = sf->faction->no;
|
no = sf->faction->no;
|
||||||
int status = alliedfaction(NULL, f, sf->faction, HELP_ALL);
|
status = alliedfaction(NULL, f, sf->faction, HELP_ALL);
|
||||||
|
|
||||||
if (status != 0) {
|
if (status != 0) {
|
||||||
WRITE_INT(data->store, no);
|
WRITE_INT(data->store, no);
|
||||||
WRITE_INT(data->store, sf->status);
|
WRITE_INT(data->store, sf->status);
|
||||||
|
|
Loading…
Reference in a new issue