Skip to content

Commit

Permalink
Fix fully armed VTOLs attached to sensors sitting down near former ta…
Browse files Browse the repository at this point in the history
…rgets

In the case of moving a Strike sensor around, the VTOL(s) would still fly towards the previously spotted target.

If the sensor still isn't watching anything yet then those VTOLs would opt to sit next to the target, likely to their demise.
  • Loading branch information
KJeff01 committed Dec 23, 2023
1 parent 630ffd7 commit 86bb59b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/order.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,6 @@ void orderUpdateDroid(DROID *psDroid)
}
}
else if (isVtolDroid(psDroid) &&
!vtolFull(psDroid) &&
(psDroid->action != DACTION_NONE) &&
(psDroid->action != DACTION_FIRESUPPORT))
{
Expand Down

0 comments on commit 86bb59b

Please sign in to comment.