fix gcc error

This commit is contained in:
Enno Rehling 2014-08-08 01:26:35 +02:00
parent 3767957caa
commit 8dd4b783b1
1 changed files with 1 additions and 1 deletions

View File

@ -2775,7 +2775,7 @@ void follow_unit(unit * u)
}
bool follow = false;
if (!u2 || (u2->region != r || !cansee(u->faction, r, u2, 0)) && !followship) {
if (!followship && (!u2 || (u2->region != r || !cansee(u->faction, r, u2, 0)))) {
return;
}