From 73870cbf66057c322f47d3195bdc5073cb890067 Mon Sep 17 00:00:00 2001 From: avolkov Date: Mon, 8 Sep 2003 22:25:00 +0000 Subject: [PATCH] Fix collisions/encounters with "invisible" fleeing ships (bug #319) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1216 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/ipdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/ipdisp.c b/sc2/src/sc2code/ipdisp.c index 70feb7668..799209b64 100644 --- a/sc2/src/sc2code/ipdisp.c +++ b/sc2/src/sc2code/ipdisp.c @@ -156,7 +156,7 @@ ip_group_preprocess (PELEMENT ElementPtr) target_loc = GET_GROUP_DEST (StarShipPtr); if (!(task & (IGNORE_FLAGSHIP | REFORM_GROUP))) { - if (target_loc == 0) + if (target_loc == 0 && task != FLEE) { /* if intercepting flagship */ target_loc = flagship_loc;