Make disabled recursive supply in s_commod() compile again

Untested.  Broken in commit 98f24d5c, v4.3.20.
This commit is contained in:
Markus Armbruster 2010-06-20 18:34:58 +02:00
parent a8a68287bb
commit 765bf06ab2

View file

@ -359,9 +359,11 @@ s_commod(struct empobj *sink, short *vec,
putland(land.lnd_uid, &land); putland(land.lnd_uid, &land);
save.lnd_seqno = land.lnd_seqno; save.lnd_seqno = land.lnd_seqno;
land.lnd_item[type] = s_commod((struct empobj *)&land, land.lnd_item, type, wanted,
save.lnd_item[type] + s_commod(own, land.lnd_x, land.lnd_y, lchr[land.lnd_type].l_item[type] - wanted,
type, wanted, actually_doit); actually_doit);
land.lnd_item[type] += save.lnd_item[type];
if (actually_doit) if (actually_doit)
putland(land.lnd_uid, &land); putland(land.lnd_uid, &land);
else else