]> git.pond.sub.org Git - empserver/commit
Fix launch not to wipe out target sector updates
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 26 Dec 2009 13:02:50 +0000 (14:02 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 26 Dec 2009 13:02:50 +0000 (14:02 +0100)
commitb23c52951ff4f0d3360723f21618869165c48c5f
tree50c7f3d3e3bd6a40f88e9ced249a5bbb0d772c3d
parent7dc130b7ace548f9807f96f2686fb59f2267ea0f
Fix launch not to wipe out target sector updates

Launching ABMs updates their base, in mission_pln_equip().  The update
got wiped out when launch_missile() wrote back the target sector,
triggering a seqno mismatch oops.  Harmless with the stock game's
ABMs, because they use neither shells nor petrol.

Fix by re-reading the target sector.
src/lib/commands/laun.c