Merge branch 'master' into develop

Conflicts:
	src/buildno.h
This commit is contained in:
Enno Rehling 2016-08-06 23:30:59 +02:00
commit b1f729a379
1 changed files with 1 additions and 2 deletions

View File

@ -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;