]> git.pond.sub.org Git - empserver/commit
Disable another incorrect use of supply_commod()
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 10 May 2008 07:27:52 +0000 (09:27 +0200)
committerMarkus Armbruster <armbru@pike.pond.sub.org>
Sun, 18 May 2008 08:13:44 +0000 (10:13 +0200)
commit312b28f5fa15a2e387c3588330d5c97178c28ef5
treeb2b283a9b5acd02d3beeec0bf30f9566c9681504
parente7aa3627c44926d9b1f23c1460ffb57027fdf85f
Disable another incorrect use of supply_commod()

navi() reads the ships into a list.  When the ships get interdicted,
and lack flak shells, ac_shipflak() tries to get one and updates the
ship.  When the ship in the list is later written back, e.g. to apply
interdiction damage, the flak shell is wiped out, and we get a seqno
mismatch oops.

Disable automatic flak shell supply in ac_ship_flak() for now.  This
is related to commit f7d61817, which disabled automatic supply of
shells in ac_doflak() and shp_missile_defense().
src/lib/subs/aircombat.c