Fix launch not to wipe out target ship updates
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 26 Dec 2009 10:28:25 +0000 (11:28 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 26 Dec 2009 10:28:25 +0000 (11:28 +0100)
commit7dc130b7ace548f9807f96f2686fb59f2267ea0f
tree2a2220ccfca6b9829c92a4fbd75f4438c9a001ca
parentde5c0b1c6b20f57ed9883d7f0bf8d576586684d8
Fix launch not to wipe out target ship updates

Ships can expend shells to defend against missiles, in
shp_missile_defense().  Any shell use by the target ship got wiped out
when launch_missile() wrote back the target ship, triggering a seqno
mismatch oops.

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