forked from github/server
Merge branch 'master' into develop
Conflicts: src/buildno.h
This commit is contained in:
commit
b1f729a379
|
@ -76,8 +76,7 @@ faction *visible_faction(const faction * f, const unit * u)
|
|||
attrib *a = a_find(u->attribs, &at_otherfaction);
|
||||
if (a) {
|
||||
faction *fv = get_otherfaction(a);
|
||||
assert(fv != NULL); /* fv should never be NULL! */
|
||||
return fv;
|
||||
if (fv) return fv;
|
||||
}
|
||||
}
|
||||
return u->faction;
|
||||
|
|
Loading…
Reference in New Issue