(s_commod): When !ACTUALLY_DOIT, recursive land unit resupply didn't
work, because the effect of the resupply was immediately undone by an untimely getvec().
This commit is contained in:
parent
7969ff8047
commit
4ee7608b0e
1 changed files with 0 additions and 1 deletions
|
@ -413,7 +413,6 @@ s_commod(int own, int x, int y, int type, int total_wanted,
|
||||||
putland(save.lnd_uid, &save);
|
putland(save.lnd_uid, &save);
|
||||||
}
|
}
|
||||||
|
|
||||||
getvec(VT_ITEM, vec, (s_char *)&land, EF_LAND);
|
|
||||||
min = get_minimum(&land, type);
|
min = get_minimum(&land, type);
|
||||||
ip = &ichr[type];
|
ip = &ichr[type];
|
||||||
weight = ((double)ip->i_lbs);
|
weight = ((double)ip->i_lbs);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue