(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:
Markus Armbruster 2004-03-05 17:10:25 +00:00
parent 7969ff8047
commit 4ee7608b0e

View file

@ -413,7 +413,6 @@ s_commod(int own, int x, int y, int type, int total_wanted,
putland(save.lnd_uid, &save);
}
getvec(VT_ITEM, vec, (s_char *)&land, EF_LAND);
min = get_minimum(&land, type);
ip = &ichr[type];
weight = ((double)ip->i_lbs);