forked from github/server
helfe in beide richtungen erlauben
This commit is contained in:
parent
12b2db11fa
commit
fa1b0a8efc
|
@ -987,6 +987,9 @@ alliedgroup(const struct plane * pl, const struct faction * f,
|
||||||
if((a = a_find(f->attribs, &at_npcfaction)) != NULL) {
|
if((a = a_find(f->attribs, &at_npcfaction)) != NULL) {
|
||||||
return mode;
|
return mode;
|
||||||
}
|
}
|
||||||
|
if((a = a_find(f2->attribs, &at_npcfaction)) != NULL) {
|
||||||
|
return mode;
|
||||||
|
}
|
||||||
if (AllianceRestricted() && f->alliance!=f2->alliance) {
|
if (AllianceRestricted() && f->alliance!=f2->alliance) {
|
||||||
mode &= ~AllianceRestricted();
|
mode &= ~AllianceRestricted();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue