(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:
parent
d35085e5c4
commit
7969ff8047
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue