ungenutztes HELP_TRAVEL sickert durch in den Report.
This commit is contained in:
Enno Rehling 2005-02-27 14:44:21 +00:00
parent 957efc6f59
commit 94b7b9abab
2 changed files with 2 additions and 2 deletions

View File

@ -881,7 +881,7 @@ show_allies(FILE * F, const faction * f, const ally * sf)
if (mode!=0 && sf->status>0) {
fprintf(F, "ALLIANZ %d\n", sf->faction->no);
fprintf(F, "\"%s\";Parteiname\n", sf->faction->name);
fprintf(F, "%d;Status\n", sf->status);
fprintf(F, "%d;Status\n", sf->status & HELP_ALL);
}
}
}

View File

@ -1489,7 +1489,7 @@ addally(const faction * f, ally ** sfp, int aid, int state)
sf = calloc(1, sizeof(ally));
sf->faction = af;
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;
*sfp = sf;