forked from github/server
ungenutztes HELP_TRAVEL sickert durch in den Report.
This commit is contained in:
parent
957efc6f59
commit
94b7b9abab
|
@ -881,7 +881,7 @@ show_allies(FILE * F, const faction * f, const ally * sf)
|
||||||
if (mode!=0 && sf->status>0) {
|
if (mode!=0 && sf->status>0) {
|
||||||
fprintf(F, "ALLIANZ %d\n", sf->faction->no);
|
fprintf(F, "ALLIANZ %d\n", sf->faction->no);
|
||||||
fprintf(F, "\"%s\";Parteiname\n", sf->faction->name);
|
fprintf(F, "\"%s\";Parteiname\n", sf->faction->name);
|
||||||
fprintf(F, "%d;Status\n", sf->status);
|
fprintf(F, "%d;Status\n", sf->status & HELP_ALL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1489,7 +1489,7 @@ addally(const faction * f, ally ** sfp, int aid, int state)
|
||||||
sf = calloc(1, sizeof(ally));
|
sf = calloc(1, sizeof(ally));
|
||||||
sf->faction = af;
|
sf->faction = af;
|
||||||
if (!sf->faction) ur_add((void*)aid, (void**)&sf->faction, resolve_faction);
|
if (!sf->faction) ur_add((void*)aid, (void**)&sf->faction, resolve_faction);
|
||||||
sf->status = state;
|
sf->status = state & HELP_ALL;
|
||||||
|
|
||||||
while (*sfp) sfp=&(*sfp)->next;
|
while (*sfp) sfp=&(*sfp)->next;
|
||||||
*sfp = sf;
|
*sfp = sf;
|
||||||
|
|
Loading…
Reference in New Issue