From 4ee7608b0e51767ebcbc2584d9f142d4243ec9b1 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 5 Mar 2004 17:10:25 +0000 Subject: [PATCH] (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(). --- src/lib/subs/supply.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/subs/supply.c b/src/lib/subs/supply.c index 47e7db14..e2bc30a9 100644 --- a/src/lib/subs/supply.c +++ b/src/lib/subs/supply.c @@ -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);