assault attack board lboard paradrop: Fix defending land unit supply
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Jan 2021 07:06:57 +0000 (08:06 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 23 Jan 2021 07:39:13 +0000 (08:39 +0100)
commite14c5326e3056dc2259d24d7fdd11bba42f8cf61
tree39a0527135bb1a4004ce6ca2d30a925bc2f19dab
parent06487a46a3aef9f7264b4d108c89e742dd3a67f0
assault attack board lboard paradrop: Fix defending land unit supply

get_dlist() collects defending land units in a list, and resupplies
them.  Bug: it uses a local copy instead of the one in the list.  When
att_fight() writes back the list, the commodities supplied get wiped
out, triggering a seqno oops.  Broken in commit 62b9399cd "subs:
Factor lnd_insque() out of lnd_sel(), ask_olist(), ...", v4.3.33.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/attsub.c