(s_commod): Don't zap supply unit fuel on recursive resupply. No idea

why it was coded that way; it doesn't make sense.  No supply units
using fuel exist in the stock game.
This commit is contained in:
Markus Armbruster 2004-03-05 16:36:55 +00:00
parent d35085e5c4
commit 7969ff8047

View file

@ -400,7 +400,6 @@ s_commod(int own, int x, int y, int type, int total_wanted,
hold = vec[type]; hold = vec[type];
vec[type] = 0; vec[type] = 0;
putvec(VT_ITEM, vec, (s_char *)&land, EF_LAND); putvec(VT_ITEM, vec, (s_char *)&land, EF_LAND);
land.lnd_fuel = 0;
putland(land.lnd_uid, &land); putland(land.lnd_uid, &land);
hold += s_commod(own, land.lnd_x, land.lnd_y, type, wanted, hold += s_commod(own, land.lnd_x, land.lnd_y, type, wanted,