Change test whether a land unit is artillery
Test for land unit firing damage instead of range, for consistency with ships.
This commit is contained in:
parent
22c6fd8bf6
commit
69f441ef39
4 changed files with 5 additions and 5 deletions
|
@ -1136,7 +1136,7 @@ lnd_support(natid victim, natid attacker, coord x, coord y, int defending)
|
|||
|
||||
snxtitem_all(&ni, EF_LAND);
|
||||
while (nxtitem(&ni, &land)) {
|
||||
if (land.lnd_frg == 0)
|
||||
if (land.lnd_dam == 0)
|
||||
continue;
|
||||
if ((land.lnd_x == x) && (land.lnd_y == y))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue