Fix att_reacting_units() to initialize ulist member eff

This left initial eff at zero.  No effect, because its only user
get_land() ignores efficiency increases.
This commit is contained in:
Markus Armbruster 2010-01-02 09:27:55 +01:00
parent ec75a407c7
commit d4f1e02273

View file

@ -1537,6 +1537,7 @@ att_reacting_units(struct combat *def, struct emp_qelem *list, int a_spy,
llp->y = origy;
llp->chrp = (struct empobj_chr *)&lchr[(int)land.lnd_type];
llp->unit.land = land;
llp->eff = land.lnd_effic;
emp_insque(&llp->queue, list);
if (lnd_spyval(&land) > *d_spyp)
*d_spyp = lnd_spyval(&land);