(lnd_support): Let land units on missions support, just like ships.
This commit is contained in:
parent
01ed071af4
commit
b8825e962c
1 changed files with 0 additions and 3 deletions
|
@ -1203,7 +1203,6 @@ lnd_mar_one_sector(struct emp_qelem *list, int dir, natid actor,
|
||||||
* find all artillery units belonging
|
* find all artillery units belonging
|
||||||
* to the attacker or defender that can fire.
|
* to the attacker or defender that can fire.
|
||||||
* Each arty unit adds +1%/damage point
|
* Each arty unit adds +1%/damage point
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
lnd_support(natid victim, natid attacker, coord x, coord y, int defending)
|
lnd_support(natid victim, natid attacker, coord x, coord y, int defending)
|
||||||
|
@ -1227,8 +1226,6 @@ lnd_support(natid victim, natid attacker, coord x, coord y, int defending)
|
||||||
continue;
|
continue;
|
||||||
if (land.lnd_land >= 0)
|
if (land.lnd_land >= 0)
|
||||||
continue;
|
continue;
|
||||||
if (land.lnd_mission > 0)
|
|
||||||
continue;
|
|
||||||
if (land.lnd_effic < LAND_MINFIREEFF)
|
if (land.lnd_effic < LAND_MINFIREEFF)
|
||||||
continue;
|
continue;
|
||||||
/* Do we have mil? */
|
/* Do we have mil? */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue