Don't let planes on trading block intercept or interdict
Fighters, SAMs, ABMs and anti-sats could intercept, and tactical missiles could interdict ships or land units. Missed when the other missions were fixed in v4.2.7.
This commit is contained in:
parent
04a332a89d
commit
2f05b844c1
2 changed files with 8 additions and 0 deletions
|
@ -778,6 +778,10 @@ getilists(struct emp_qelem *list, unsigned char *rel, natid intruder)
|
|||
continue;
|
||||
if (plane.pln_effic < 40)
|
||||
continue;
|
||||
if (opt_MARKET) {
|
||||
if (ontradingblock(EF_PLANE, &plane))
|
||||
continue;
|
||||
}
|
||||
if (!pln_airbase_ok(&plane, 0, 0))
|
||||
continue;
|
||||
/* got one! */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue