Make lnd_mission_interdiction() apply damage
To make lnd_mission_interdiction() work just like shp_mission_interdiction().
This commit is contained in:
parent
f8e7fb8ca8
commit
0706836708
1 changed files with 2 additions and 4 deletions
|
@ -755,7 +755,7 @@ lnd_missile_interdiction(struct emp_qelem *list, coord newx, coord newy,
|
||||||
mpr(victim, "missile interdiction mission does %d damage!\n", dam);
|
mpr(victim, "missile interdiction mission does %d damage!\n", dam);
|
||||||
collateral_damage(newx, newy, dam);
|
collateral_damage(newx, newy, dam);
|
||||||
}
|
}
|
||||||
return dam;
|
return lnd_damage(list, dam);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -827,9 +827,7 @@ lnd_interdict(struct emp_qelem *list, coord newx, coord newy, natid victim)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
stopping |= lnd_mission_interdiction(list, newx, newy, victim);
|
stopping |= lnd_mission_interdiction(list, newx, newy, victim);
|
||||||
stopping |=
|
stopping |= lnd_missile_interdiction(list, newx, newy, victim);
|
||||||
lnd_damage(list,
|
|
||||||
lnd_missile_interdiction(list, newx, newy, victim));
|
|
||||||
return stopping;
|
return stopping;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue