From 94b7b9abab3f134618f53b36e39f0de97c6c6078 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 27 Feb 2005 14:44:21 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=280 ungenutztes HELP_TRAVEL sickert durch in den Report. --- src/common/gamecode/creport.c | 2 +- src/common/kernel/save.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index 63a198947..b3fa943da 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -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); } } } diff --git a/src/common/kernel/save.c b/src/common/kernel/save.c index 0a91d576f..181ee7cce 100644 --- a/src/common/kernel/save.c +++ b/src/common/kernel/save.c @@ -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;