(ac_landflak): Don't let embarked land units fire flak.
This commit is contained in:
parent
e7151df698
commit
130338aece
1 changed files with 3 additions and 0 deletions
|
@ -906,6 +906,9 @@ ac_landflak(struct emp_qelem *list, coord x, coord y)
|
|||
if (land.lnd_aaf == 0)
|
||||
continue;
|
||||
|
||||
if (land.lnd_ship >= 0 || land.lnd_land >= 0)
|
||||
continue;
|
||||
|
||||
rel = getrel(getnatp(land.lnd_own), plane_owner);
|
||||
if (rel > HOSTILE)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue