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>
Sun, 17 Jan 2021 20:24:29 +0000 (21:24 +0100)
commite5bccdd52ec4e2f5ba7330a565b43a6265331afa
tree7df4bcee11fc679a24a13d600646bd527cf79ad1
parent8fc2c0ffa2e371306b7222324b88a547c5154e50
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