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
This commit is contained in:
@@ -156,7 +156,7 @@ ip_group_preprocess (PELEMENT ElementPtr)
|
|||||||
target_loc = GET_GROUP_DEST (StarShipPtr);
|
target_loc = GET_GROUP_DEST (StarShipPtr);
|
||||||
if (!(task & (IGNORE_FLAGSHIP | REFORM_GROUP)))
|
if (!(task & (IGNORE_FLAGSHIP | REFORM_GROUP)))
|
||||||
{
|
{
|
||||||
if (target_loc == 0)
|
if (target_loc == 0 && task != FLEE)
|
||||||
{
|
{
|
||||||
/* if intercepting flagship */
|
/* if intercepting flagship */
|
||||||
target_loc = flagship_loc;
|
target_loc = flagship_loc;
|
||||||
|
|||||||
Reference in New Issue
Block a user