tote übergeben items nur bei gegenseitigem HELFE SILBER bzw. HELFE GIB

This commit is contained in:
Enno Rehling 2005-09-08 21:41:39 +00:00
parent 9f315c32aa
commit 4ac9cf30e8
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ distribute_items(unit * u)
if (u->items==NULL) return;
for (au=r->units;au;au=au->next) if (au->faction!=f) {
if (alliedunit(u, au->faction, HELP_ALL)) {
if (alliedunit(u, au->faction, HELP_MONEY) && alliedunit(au, f, HELP_GIVE)) {
struct friend * nf, ** fr = &friends;
while (*fr && (*fr)->faction->no<au->faction->no) fr = &(*fr)->next;