From 8dd4b783b11c997890d99d611ca18fb136da9472 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 8 Aug 2014 01:26:35 +0200 Subject: [PATCH] fix gcc error --- src/kernel/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/move.c b/src/kernel/move.c index 135061f25..63f63e661 100644 --- a/src/kernel/move.c +++ b/src/kernel/move.c @@ -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; }