helfe in beide richtungen erlauben

This commit is contained in:
Katja Zedel 2005-06-05 15:50:53 +00:00
parent 12b2db11fa
commit fa1b0a8efc
1 changed files with 3 additions and 0 deletions

View File

@ -987,6 +987,9 @@ alliedgroup(const struct plane * pl, const struct faction * f,
if((a = a_find(f->attribs, &at_npcfaction)) != NULL) {
return mode;
}
if((a = a_find(f2->attribs, &at_npcfaction)) != NULL) {
return mode;
}
if (AllianceRestricted() && f->alliance!=f2->alliance) {
mode &= ~AllianceRestricted();
}